Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #11392
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Karl-Heinz" <invalid@invalid.invalid> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: BBrowser, celledit, BEDIT_CREATE etc |
| Date | Thu, 22 Feb 2018 14:44:01 +0100 |
| Lines | 64 |
| Message-ID | <ff7vqeF15jhU1@mid.individual.net> (permalink) |
| References | <d146c744-49c3-44fd-8c69-74a9b0403fec@googlegroups.com> <68f1386b-1d0b-42dd-a6c9-1f0a64d908cc@googlegroups.com> <263bbe18-048a-43a3-a070-1a55e783613a@googlegroups.com> <31711782-f811-4ae9-861c-e72d61d5d035@googlegroups.com> <ff7rm6F87vU1@mid.individual.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="UTF-8"; reply-type=original |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net pocD5VaLE/yYgmWDPj6N8gLhFo/99NYUxvBv3IW5AZ/yByN5w= |
| Cancel-Lock | sha1:1ycg2FsxW/aOeO4ttgD7gB6Ruhs= |
| In-Reply-To | <ff7rm6F87vU1@mid.individual.net> |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Importance | Normal |
| X-Newsreader | Microsoft Windows Live Mail 16.4.3564.1216 |
| X-MimeOLE | Produced By Microsoft MimeOLE V16.4.3564.1216 |
| Xref | csiph.com comp.lang.clipper.visual-objects:11392 |
Show key headers only | View raw
Hi Phil
ok, just read your other postings ..
> have all the Browser button call a window, browser 1000's of records all
> working. It is simply the CELL is an editable, type in cell.
if your goal is really to pick something from such a large list: A combobox
is not designed to hold such an amount of items. Another option might be a
(virtual) Listview. But i never tried to attach it to a bBrowser cell .
regards
Karl-Heinz
"Karl-Heinz" schrieb im Newsbeitrag news:ff7rm6F87vU1@mid.individual.net...
Hi Phil,
> Want only be have a user selectable picklist and not a typeable field
> Like a combobox style Dropdownlist.
>
> If you load sample.. can you tell me how to change sample to achieve this
> ?
>
here´s what i´ve tried, and it seems to work:
METHOD CellEdit(oEvent) CLASS dtwComboEdit
LOCAL oColumn AS bDataColumn
IF oEvent:EditMode=BEDIT_CREATE
oColumn := oEvent:Control:GetOpenColumn(oEvent:EditCell:Column)
IF oColumn:FieldSym==#CITY
//oEvent:EditControl :=
oEvent:Control:EditCreate(oEvent:EditCell:Column, oEvent:EditCell:Row,
oEvent:EditCell:RecNo, #bCityEdit)
oEvent:EditControl :=
oEvent:Control:EditCreate(oEvent:EditCell:Column, oEvent:EditCell:Row,
oEvent:EditCell:RecNo, #combobox, CBS_SORT , BOXDROPDOWNLIST )
// oEvent:EditControl:fillusing ( SELF:oDCBrowser:server ,
#CITY , #CITY) doesn´t seem to work ???
// add some Citynames manually instead, whereby "Textvalue" and
"Value" must be always the same !
oEvent:EditControl:fillusing ( {{ "San Diego", "San Diego" }
, {"Chicago" , "Chicago" } , { "Boston", "Boston" } , {"Portland" ,
"Portland" } } )
ENDIF
ENDIF
RETURN NIL
regards
Karl-Heinz
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-20 23:13 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-21 09:30 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-21 14:57 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-21 16:44 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-21 17:05 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc nicktekhne@googlemail.com - 2018-02-22 02:02 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-22 02:09 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-22 13:33 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-22 14:44 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-22 17:02 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-22 15:55 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-23 08:40 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-23 05:49 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-24 19:50 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-25 12:07 +0100
csiph-web