Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBoxes in Grids
Message
De
25/08/1999 14:51:16
 
 
À
25/08/1999 13:20:20
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00257032
Message ID:
00257579
Vues:
32
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform