dionel1969 Posted May 25, 2011 Share Posted May 25, 2011 This is one of my other questions: I use to make simple applications using PageControl instead of using multiple forms. So I put a PageControl aligned to alClient in the form, I create more than one page and in the design time the tabs of the pages are visible, but in the run time I hide they to user, then I manipulate visual interface throught ActivePage of PageControl object. For example: procedure TMainForm.HideTabs; var Index: Integer; Last: Integer; begin Last := pctrlMain.PageCount - 1; for Index := 0 to Last do pctrlMain.Pages[index].TabVisible := False; pctrlMain.ActivePage := tshtLoginPage; end; The last code line activate the Page I want to show to user first time. It works in the windows interface, but it does not work for web interface. Later, when I call this from button event it works well. It seems that the last page remains active despite the last line of code. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 25, 2011 Administrators Share Posted May 25, 2011 Can you send a simple test case? Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted May 27, 2011 Author Share Posted May 27, 2011 Can you send a simple test case? Sorry for the delay of my answer. Here is the example about. It was not possible to upload the compiled executable for size reason. If you want you can give me an email address and I send it later. Dionel UniPageControl.rar Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 Logged #1015 Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted May 27, 2011 Author Share Posted May 27, 2011 Logged #1015 It will be possible to have here a "closed discussion thread" to see the Log, problem description and Status???? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 The log changes dynamically. The only way is to create a public gateway for it. It is Mantis Issue Tracker. I can open Mantis for public view but I don't prefer it. I will create the gateway using uniGUI. Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted May 28, 2011 Author Share Posted May 28, 2011 The log changes dynamically. The only way is to create a public gateway for it. It is Mantis Issue Tracker. I can open Mantis for public view but I don't prefer it. I will create the gateway using uniGUI. Ok, just a web page to see what in the log is to avoid report about a problem that is reported. # | Issue | Short Description | Status ---------------------------------------------------------------------------- 1 | Bitmap transparency | There is a problem with the | Reported | | transparency in bitmap on the web | | | with TUniBitButton | ---------------------------------------------------------------------------- . . . No more than... Thank you for your time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.