Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


close button


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-26-2008, 07:36 PM
Junior Member
 
Join Date: Oct 2007
Posts: 25
Default close button

Hello!

Can someone please tell me if it is possible to get an X instead of OK in the upper right corner for closing the application.

Thx, Kavka
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 07:46 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Yes.
Using the FormLib library.
You can set the MinimizeBox property to true.
http://www.basic4ppc.com/help/formlib/index.html
Reply With Quote
  #3 (permalink)  
Old 02-26-2008, 08:15 PM
Junior Member
 
Join Date: Oct 2007
Posts: 25
Default

Erel, thx for fast reply, but as I understand your suggestion, then the app is only minimised and not closed. I want app to close.
Or did I missunderstand?

Thx, Kavka
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 07:31 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

That is the difference between X and OK.
OK (Basic4ppc default) - Application will close.
X (Microsoft default) - Application will minimize.
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 10:29 AM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 486
Awards Showcase
Beta Tester 
Total Awards: 1
Default

If you really want the 'X' to be displayed then it sounds like you need to catch the minimize event and close the app using your code.
However I'm not sure that a minimize event exists, maybe this is something that Erel can implement in his next release?

Regards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
minimize or close? Byak@ Questions & Help Needed 3 09-28-2008 05:18 PM
Improved Close Event RandomCoder Basic4ppc Wishlist 5 09-26-2008 07:00 PM
HIDE TITLE BAR ? hide title, minimize , max and Close button (FOR DESSKTOP EXE) pegamaster Questions & Help Needed 0 07-04-2008 03:59 PM
Close(ok) Button TWELVE Questions & Help Needed 10 06-08-2008 04:41 PM
SQLite Open Close - how often? sloopa Questions & Help Needed 3 05-01-2007 03:01 PM


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


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0