>Hi Mark,
>>>
>>>I want to add method to my grid class, which allows me to change captions in all columns of the grid to be proper of the original content, i.g.
>>>Before
>>>stnum| street |stnumext
>>>After
>>>Stnum|Street|Stnumext
>>>
>>>The problem is that I don't know all my collumns names and headers names. What is the easiest way to achieve this functionality?
>>
>>for i = 1 to thisform.grid1.columncount
>> thisform.grid1.columns(i).header1.caption = 'test'
>>endfor
>>
>>Mark
>
>
> I thought about something similar too... But there is a problem. If I have grhFName instead of Header1?
thisform.grid1.columns(i).controls(1).caption
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement