Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBoxes in Grids
Message
From
25/08/1999 14:51:16
 
 
To
25/08/1999 13:20:20
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00257032
Message ID:
00257579
Views:
31
>Your Combo.ControlSource should be moved to the Column1 object. When this happens, I have to select the table that is the ControlSource for the grid, and even then, I can't get to the first record, every time I click it, control goes to the last record.
>
>What is going wrong?
>

I'm catch one error 5 minutes ago...

Look the code snippet below
-----
clear all
close tables

PUBLIC oform1

set classlib to combolib
use invm in 0
use itty in 0

oform1=NEWOBJECT("combo_in_grid")
oform1.Show
RETURN
-----

In my class Combo_In_Grid I don't set the Grid.RowSource.
If I don't forgot you too.

Well, code above works fine. But if I rearrange lines to:
use itty in 0
use invm in 0
I have a problem: when I set focus to Grid record pointer going to last record!
I think that in first case Grid without RowSource setting get it from first work area and code work as need.

May be this idea?
Regards,
Dmitri Alexandrov
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform