Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reassigning the range of an array
Message
De
22/01/2003 05:34:38
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00744129
Message ID:
00744161
Vues:
26
The point is why we must "hack" the SCX to accomplish such a simple thing?
If you change RecordSource alias in designer, ControlSource property values for all columns will be deleted, but I think this must be another thread.


>>And what about columns and textboxes ControlSource property ? ;)
>
>USE form.scx
>SET FILT TO objname="grid_name" OR ;
>            upper(".grid_name.") $ upper(parent) AND baseclass#"header"
>
>* Control source for columns are store in properties for grid.
>
>
> MartinJ
>
>>
>>>>This is not a big problem. But if you want to change RecordSource alias for a grid with 20 columns ... this will be a problem
>>> No, is small problem.
>>>
>>> USE form.scx
>>> LOCATE FOR objname="grid_name"
>>> * BROWSE
>>> * open memo field PROPERTIES
>>> * change property RecordSource
>>> * close memo
>>> * close table
>>>
>>>
>>> MartinJ
>>>
>>>>
>>>>
>>>>>>
>>>>>>ASELOBJ(laFormRef,1)
>>>>>>DIMENSION laFormRef[1].{FormProperty}(n)
>>>>>>
>>>>>
>>>>>This works. I have to say I'm extremely surprise we have to go that way to change that information. I guess it's time to add a wish entry on that one. I'll do it. Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform