Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing Containers in Grids
Message
 
À
15/06/2004 11:53:30
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00913671
Message ID:
00913926
Vues:
20
Mike,

As I suspected.
However, how * do * I accomplish the task?
I have seen applications which have a grid to enter, let's say an item code, with a command button beside it with a magnifying glass or binoculars.
I know from some technical docs for an app that we resell that the text box and command button are in a container. However, the docs don't explain 'how' it works.


>Looking at the drop down for the current control in the property sheet, it appears you cannot access the objects inside the container.
>
>>Luis,
>>
>>Just double-checked.
>>It is 'none'.
>>
>>>Hi Allan,
>>>I suspect you might have "something" in the ControlSource of the base class
>>>for the TextBox
>>>
>>>
>>>>I have created a container with a text field and a command button which I would like to include in a grid.
>>>>It will be used to enter a value which will be looked up in another table. The user can also click on the command button which will display all of the look-up values (in another grid) from which they can pick one.
>>>>The problem that I am having is setting the 'current control' in the column.
>>>>If I try to use the containername.textfield I get an error 'Expression evaluated to an illegal value'. I have set sparse to false.
>>>>
>>>>Previously, I used a combo box in the column but am now moving away from them due to a bug that was documented here.
>>>>
>>>>Any suggestions as what I am doing wrong with the container or a better way to accomplish the same task are appreciated.
>>>>
>>>>TIA.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform