🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #970

Re: VDB Unstable with a Query Object

#970
From: Romain Strieff [TeamB]
Date: Tue, 09 Jun 1998 00:00
44 lines
1768 bytes
In article <357D2F56.152@total.net>, sproket@total.net grudgingly 
admits...

A few comments. First, remove the Name parameter, VdB 7 doesn't need it 
and you'll get bitten somwtimes if you use it. Second, since you drag 
these on the form anyway, you don't need any of the top, left, etc 
properties which explain perhaps the flicker as they reposition 
themselves.

> ust Discovered something.  I have a custom component which gives me a
> Unstable message only at design time (form).  Here's the code:
> 
> class SECTIONCOMBOBOX(parentObj, name) ;
>    of COMBOBOX(parentObj, name) custom
> 
>    with (this)
>       height = 22
>       left = 287
>       top = 22
>       width = 210
>       metric = 6	// Pixels
>       speedTip = "Select a section"
>       sorted = true
>       style = 1	// DropDown
>       dropDownHeight = 132
>       value = ""
>    endwith
> 
>    this.Query = New Query()
>    with this.Query
>       sql := "select distinct category from 'creg0009.dbf'"
>       active := true
>    endwith
>    this.dataSource = this.Query.rowset.fields["CATEGORY"]
> endclass
> 
> 

-- 
Romain Strieff [TeamB]
Want quick help? Check previous Q and A at:
http://forumsearch.borland.com:88/ and TIs at
http://www.borland.com/VdBASE/vdbprod.html 
Technical Details
Message-ID: <MPG.fe7505672ff194198adf1@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <357D2F56.152@total.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,9e4028faac6a6a23
X-Google-Attributes: gidff5a1,public
From: Romain@Do.not.reply.via.e-mail (Romain Strieff [TeamB])
Subject: Re: VDB Unstable with a Query Object
Date: 1998/06/09
Message-ID: <MPG.fe7505672ff194198adf1@forums.borland.com>
X-Deja-AN: 361008111
References: <357D2F56.152@total.net>
Reply-To: teamb@opto-pps.com
Organization: TeamB
Newsgroups: borland.public.vdbase.data.sql