Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?

Visible property in Form object

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2009, 04:32 PM
ghale's Avatar
Basic4ppc Veteran
 
Join Date: Dec 2008
Location: Earth, Europe, Italy, Puglia, Lecce
Posts: 219
Default Visible property in Form object

I think that a Visible(I/O) property for Form object, can be a better alternative to the Visible property of a control on the form, when I need to check if the form is active or not.

Can this be implemented in a future release of Basic4PPC?
Reply With Quote
  #2 (permalink)  
Old 08-08-2009, 05:18 PM
Knows the basics
 
Join Date: Dec 2008
Posts: 77
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by ghale View Post
I think that a Visible(I/O) property for Form object, can be a better alternative to the Visible property of a control on the form, when I need to check if the form is active or not.

Can this be implemented in a future release of Basic4PPC?

This can be done with the door library. It can also be set.

Code:
obj.New1(false)
obj.FromControl(
"Form1")
  
If (obj.GetProperty("Visible")) then obj.SetProperty("Visible",false)
Reply With Quote
  #3 (permalink)  
Old 08-08-2009, 05:39 PM
ghale's Avatar
Basic4ppc Veteran
 
Join Date: Dec 2008
Location: Earth, Europe, Italy, Puglia, Lecce
Posts: 219
Default

Ok, this is a good way to accomplish this, sure.

But in this way I have to add a library (door.dll) to the project.

And for a beginners (like me) this can't be the easy way to learn using Basic4PPC.

This is my think, however your suggest is a good one.

Thanks!
Reply With Quote
  #4 (permalink)  
Old 08-08-2009, 05:42 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I think that a readonly Visible property is an important feature and it will be added.

Setting is done with Form.Show or Form.Hide. Note that it is not recommended to bypass these methods with the door library.
__________________
Basic4android documentation
Reply With Quote
  #5 (permalink)  
Old 08-08-2009, 05:45 PM
ghale's Avatar
Basic4ppc Veteran
 
Join Date: Dec 2008
Location: Earth, Europe, Italy, Puglia, Lecce
Posts: 219
Default

Thank you very much.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Object Reference Not Set to an Instance of an object mikewhite Questions (Windows Mobile) 2 02-14-2009 08:21 PM
Form Visible? In Focus? digitaldon37 Questions (Windows Mobile) 2 12-03-2008 09:26 AM
Object Reference not set to an instance of an object monster9999 Questions (Windows Mobile) 9 01-15-2008 10:56 PM
Request for SetPixel in Form object. forisco Questions (Windows Mobile) 28 01-03-2008 12:13 PM
Visible property for menus alfcen Basic4ppc Wishlist 2 11-11-2007 12:15 PM


All times are GMT. The time now is 03:11 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0