Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't type in grid textbox or see value in active cell
Message
From
20/11/2003 03:14:47
 
 
To
19/11/2003 07:41:16
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00851340
Message ID:
00851741
Views:
9
Thank you for your help.

Yes, of course, I might have known. (I did, it just slipped my mind)

Now there is another issue with the combobox:

.Column3.SPARSE = .F.
.Column3.Combo1.BOUNDCOLUMN = 2
.Column3.Combo1.BOUNDTO = .T.
.Column3.Combo1.ROWSOURCETYPE = 6
.Column3.Combo1.ROWSOURCE = 'CountryPicker.cnty_name,cnty_no'


It's supposed to show let's say 'France' but store the value from the country's number, which for some reason, by way of legacy, is an integer and that can't be changed.

When the BoundTo property was set to false it showed the wrong country, Poland became Switzerland a.s.o., quite in accordance with the description, so I set it to true.

Now it shows the correct country, but if I pick another country the value is empty until the data are saved. Then it again shows the correct country, i.e. the one that was picked from the list.

What's to do about that?

TIA

Peter


>Hi Peter
>
>
>....
>FOR i = 1 TO .COLUMNCOUNT
>      WITH .Columns(m.i)
>          .RemoveObject('Text1')
>          .ADDOBJECT('_Text1','_TextBox')
>          ._Text1.visible = .T.
>* or      STORE .ADDOBJECT('_Text1','_TextBox') TO ._Text1.visible
>*         .CurrentControl = '_Text1'  && not necessary
>     ENDWITH
>ENDFOR
>...
>
>
>Fabio
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform