we want just know , how set to invisible a component.
We have this case, there is a header align to the top , a list align al client and a header align to bottom , in one case we want that the region is shown in this way , in another case , we want that the header align o the bottom began invisible, to show just the header align to the top and the list, how we can do that?
You can set the IWiPhoneHeader.Visible property to False to hide the control. Please note that this is only supported for synchronous events and not for asynchronous events.
As an alternative you can put the control you want to hide inside an IWRegion control and then asynchronously toggle the Visible property of the IWRegion instead. This requires that the RenderInvisibleControls property is set to True for the application form and the IWRegion/IWiPhoneRegion controls.
Thanks we'll try in this way , to not open a new topic we have another question , about the Iphone style component
, we put this component on every form we use to hide the address bar , we set the property hideaddress bar to true e the fullscreen property to false , as the manual says, now in the main form is hide but when we open another form the address bar is still visible...why? And testing it on the iphone there is also the navigation bar at the bottom visible, there is a property to hide that too?
- I have not been able to reproduce this issue. If the address bar is hidden correctly on one form it should also be hidden when switching to another form with the same settings. How exactly are you switching between different forms?
- It's unfortunately a iOS Safari browser limitation that the navigation bar can't be hidden (unless the web app is started fullscreen).
As an alternative you can set the IWiPhoneStyle.FullScreen property to true and both the address bar and navigation bar will be hidden. (This requires that the web app is started from an icon on the iPhone home screen instead of via the Safari browser)
We launch the application from an icon on the iphone home and the navigation bar on the bottom is still visible
fullscreeen is set to true.
Cuold be that the iphone that we use is an ios6?
For the problem that some form are visible right and some not , all the forms has the same iphone style , there is some property that don't allow to the style to go fullscreen?
I noticed you have set IWiPhoneStyle.FullScreen to false in your previous message.
If you would like to run a web app fullscreen (address bar + navigation bar are hidden) on iOS, please make sure the IWiPhoneStyle.FullScreen property is set to true and the app is started from a home screen icon.
I have tested this with different iOS versions (including iOS 6) and the web application is correctly displayed in fullscreen when started from a home screen icon.
Can you please provide a ready to run sample project that demonstrates the issue so I can further investigate this?
Can you also let me know which version of Delphi and IntraWeb you are using?