Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Code Samples & Tips > Additional Libraries
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.


Build proper desktop apps in B4PPC with this awesome Forms library


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 11-17-2007, 01:50 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,321
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
Well spotted. However it works because I don't use anything in Formlib that calls back into B4PPC so in this instance B4PObject1 is just a placeholder.
Come on! It's only a rough demo of capabilities not a polished app! (Actually I quite like the look)
Didn't mean to put you down....The dll is very good....
Still there is alway rooms for improvement....

The B4PObject issue was not important, but the app refused to start before the corrected syntax, so any new user could have the same problem...

I say it again, it was NOT to put you down, it is a very good dll...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #12 (permalink)  
Old 11-17-2007, 01:55 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by Cableguy View Post
the app refused to start before the corrected syntax, so any new user could have the same problem
Really! Are you running version 5.80? It works fine as originally posted on my systems so I can't think what the difference could be. What error did you get?
Reply With Quote
  #13 (permalink)  
Old 11-17-2007, 02:09 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,321
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

error image attached...I'm runnung v5.80
Attached Images
File Type: gif erro2.GIF (9.4 KB, 24 views)
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #14 (permalink)  
Old 11-17-2007, 02:28 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Ah - I see now. You have the "Tools -> Check for unassigned/unused variables" option ticked and B4PPC is complaining because it thinks B4PObject1 is a variable that is never assigned to.

I normally run with this checked but somehow I must have unchecked it without noticing and missed the error. I've made an edit to the orignal post to warn people. Thanks.
Reply With Quote
  #15 (permalink)  
Old 11-17-2007, 07:46 PM
taximania's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 234
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Not sure if this means anything, but if you close a child window (x top right) in the 'Make MDI' example, close the example, then restart it, the program errors. Cannot access a disposed object.

Just thought i'd mention it. From a programming point of view, you wouldn't try to open a window you have already closed.

Just thoght i'd mention it.
__________________
Endemol
Waste of space

O2 XDA Artemis Touch Flo 4.02 Full Cube Rom WM6.1

http://www.taximania.net
Reply With Quote
  #16 (permalink)  
Old 11-17-2007, 07:54 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by taximania View Post
Not sure if this means anything, but if you close a child window (x top right) in the 'Make MDI' example, close the example, then restart it, the program errors. Cannot access a disposed object.
Yes, this behaviour is documented at line 376 on the demo and also under the Closing event in the Help. Not all the windows are protected as you will see.

What is not well documented is that if you do a FormEx.Run to start the app then any code after that in App_Start is never executed.
Reply With Quote
  #17 (permalink)  
Old 11-17-2007, 09:36 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

You have probably noticed this new thread that I started but if not then please have a look.

ControlsExDesktop library suggestions please
Reply With Quote
  #18 (permalink)  
Old 11-19-2007, 12:50 PM
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 141
Default Fantastic !

I really really like this library

I enjoy the simplicity of Basic4ppc and enjoy programming for my ppc but very often I do two versions of the program, one for the ppc and one for the pc (e.g. databases etc.) and I have often been annoyed at small things like the inability to minimize a form. Thanks to this library these minor annoyancies have disappeared (although I am sure I will find new ones ).

Thank you for your work. Basic4ppc is very nice as it is, but the use of the different dll's really put the icing on the cake.

Björn
Reply With Quote
  #19 (permalink)  
Old 11-20-2007, 08:01 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

If you are trying to use the native CheckBox and RadioBtn on a FormEx form and are getting unhandled exceptions when trying to use their Click events then be aware that it is not your fault. Unfortunately there is a Basic4PPC internal feature that is incompatible with handling events from these two controls outside a Basic4PPC native Form. Other native controls' events should work fine on a FormEx.

Erel may fix this in the next release but in the mean time I intend to include versions of these two controls in a ControlsExDesktop library that I am presently developing. I hope to post it in less than a week from now but I have to decide on the final feature set and then get the help file written first.
Reply With Quote
  #20 (permalink)  
Old 11-21-2007, 09:52 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

A minor update - version 1.2 - attached. Only one change made. a new event added, Resize, that occurs repeatedly when the user resizes the form AND when the form is minimised, maximised and restored. I thought that ResizeEnd caught these last three events but it doesn't seem to - Resize does.
Attached Files
File Type: zip FormExDesktop_1.2.zip (28.8 KB, 51 views)
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
Problem with B4PPC itself, on desktop mjcoon Questions & Help Needed 2 06-06-2008 06:59 AM
control (build in) webcam on desktop Mr_Gee Questions & Help Needed 9 05-22-2008 05:59 PM
Redirection from desktop to B4PPC on compile taximania Chit Chat 4 02-04-2008 08:05 PM
Using Windows API (Desktop) with b4ppc? jesb4ppc Questions & Help Needed 5 08-27-2007 08:51 PM
Desktop: Forms with differnet sizes sloopa Questions & Help Needed 2 05-06-2007 05:41 PM


All times are GMT. The time now is 10:39 PM.


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