- This topic has 2 replies, 2 voices, and was last updated 14 years, 4 months ago by ehimmer.
-
AuthorPosts
-
July 19, 2010 at 12:32 am #33866ehimmerParticipant
I have a TsCheckListBox on the 2nd tab of a TsPageControl. If I populate it on app startup, it does not display the contents until I enter the 2nd tab a second time (i.e. it appears empty the first time I go to the 2nd tab).
Important… It works fine if I select the 2nd tab by clicking on the tab to go to the 2nd page… However, if I go to the 2nd tab programatically by setting the TabIndex property (we incorporate a navigation tree, TsTreeView, to move to different tab pages in addition to the tab page tabs), it won't appear until I go to the 2nd tab the 2nd time.
I even have a PageControl1.Invalidate in the OnChange event of the TsTreeView, which doesn't help. However, if the 2nd tab is the default tab on startup and then switch it to the first tab programatically, it is fine when I then switch to the 2nd tab… I assume because it was visible on startup and population time.
An invalidate or refresh of the list box also fails to render it… however if I drag the window off the screen, the part that moved off the screen then is repainted. Or if I click anywhere on the checklist it also renders it.
Ideas?
One “fix” was to add a PageControl1.Refresh (instead of the Invalidate I had) followed by a Checklist1.Invalidate… in that order after setting the TabIndex.This fails on AC 6.67/6.68, D2007, Win7 64-bit. Not sure about earlier versions of AC or other Windows.
July 19, 2010 at 2:11 pm #42964SupportKeymasterHello
I'll try to reproduce it and solve a problem in the nearest release.
If you have a test-app already, then it will help and problem will be solved fasterJuly 21, 2010 at 9:05 pm #42982ehimmerParticipantQUOTE (Support @ Jul 19 2010, 07:11 AM) <{POST_SNAPBACK}>Hello
I'll try to reproduce it and solve a problem in the nearest release.
If you have a test-app already, then it will help and problem will be solved fasterAuthorPostsViewing 3 posts - 1 through 3 (of 3 total)- You must be logged in to reply to this topic.