Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically add fields
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01330138
Message ID:
01330145
Vues:
23
Many thanks Boris


>>Sorry, text box and combo boxes in a container
>>
>>
>>>>Can anyone point me in the right direction?
>>>>
>>>>I need to programmatically add some fields to a container?
>>>>
>>>>Many thanks
>>>
>>>Fields in Container?
>>>You mean Fields in Table
>>>or
>>>TextBox in Container?
>
>
>WITH thisform.ContainerName
>     .AddObject([TextBox1], [TextBox])
>     WITH .TextBox1
>          .Left = ???
>          .Top  = ???
>          .ControlSource = [????]
>          .Value = ????
>          .Visible = .t.
>     ENDWITH
>     .AddObject([ComboBox1], [ComboBox])
>     WITH .TextBox1
>          .Left = ???
>          .Top  = ???
>          .Style = ???
>          .ColumnCount = ??
>          .BoundColumn = ??
>          .BoundTo     = ??
>          .ControlSource = [????]
>          .Value = ????
>          .Visible = .t.
>     ENDWITH
>ENDWITH
>
>
>You could set ALL properties you need BUT don't forget to set VISIBLE = .t.
>By default all objects added programaticaly are invisible.
Rob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform