Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Grid's controls
Message
De
05/04/1998 09:35:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/04/1998 01:12:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00089185
Message ID:
00089613
Vues:
28
>>>>>I have a grid related to a cursor.
>>>>>I changed the default text control with one of my own, now happens that this control is readonly and it becomes readonly without any explicit instruction.
>>>>>Any suggestion ?
>>>>>Thanks to all
>>>>>Alessio
>>>>Alessio,
>>>>Check :
>>>>-Textbox class default readonly ?
>>>>-Cursor readonly ?
>>>>-Column.controlsource readonly ?
>>>>-Some code (ie: wizard buttons) setting readonly ?
>>>>-Just this textbox or all grid readonly (source is not a table or read&write cursor ?)
>>>>Cetin
>>>I found the problem but I doesn't seem to make sense:
>>>
>>>Here is the settings which give the problem :
>>>Grid recordsource = aliasname
>>>column controlsource = fieldname
>>>
>>>
>>>Here is the settings which works properly :
>>>
>>>Grid recordsource = aliasname
>>>column controlsource = aliasname.fieldname
>>>
>>>Both of the settings work fine if the column activecontrol
>>>is the default textbox of the grid
>>>
>>>Can you explain it ?
>>>
>>>Alessio
>>Have you checked the bound property and controlsources of all controls in that column.
>>Cetin
>Of course I have !
>Alessio
Then I have no neat explanation. If it's a parent table then control would be read&write whatever the active control is. On the other hand if it's a child table control would be readonly whatever the active control is (I mean the initially selected as parent-most likely it would be parent). Given there is no other field with same name I expect all controls be read&write or readonly.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform