if mypath then
findTableFile(file1).saveToFile(mypath..'\\'..file1)
findTableFile(file2).saveToFile(mypath..'\\'..file2)
findTableFile(file3).saveToFile(mypath..'\\'..file3)
findTableFile(file4).saveToFile(mypath..'\\'..file4)
end
As of CE 7.2, the Cursor property is not inherited by child controls. If I want to set the cursor to crHourGlass while some code is executing, I have to find and set the Cursor property of the form AND every child control.
"Inherit" is also not an option for the Cursor property of controls in Design mode. Neither is there any property named ParentCursor (like ParentShowHint).
Has this been changed in later versions of CE? It is quite unwieldy to have to change the cursor for all controls in multiple nested for loops, and then to run those loops again to set them back to crDefault. It gets even worse if you use panels or any grouping controls because then the nesting has to go keep going deeper and deeper.
frmReadfile > pnlButtons > btnLoadfile
I can access all properties and methods of btnLoadfile via frmReadfile.btnLoadfile, but frmReadfile.Controls[counter] does not expose it. It has to be frmReadfile.Controls[0].Controls[0]. Hence the deep nesting of loops.
Before anyone curses me for requiring the hourglass at all, it is necessary for one of my forms which takes time to parse a large text file. The source and format of the text file are not within my control so I cannot format it or break it up for "quick" reading.
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum