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

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

Questions (Windows Mobile) Post any question regarding Basic4ppc.

FormLib and modules

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2008, 07:52 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Exclamation FormLib and modules

While trying to make a Numeric panel module, that could change its parent, using the FormLib's Changeparent method....I just can't....
Is the current FormLib dll fully compatible with modules?
Here's part of my code:

Code:
Public Sub NUMPanelShow(x,y,PanelParent) '-PanelParent will hold the parent names to hange the panel to
ErrorLabel (Continue'-Tese 3 lnes re sed to chek if the formlib object has already been added, if exists, continue
FL.New1("NUMPanelForm",B4PObject(1))
Continue:
NumPanel.Top=y
NumPanel.Left=x
For a=1 To 12 '-ties the button click events to one sub
AddEvent("Button"&a,Click,"CheckButton")
Next
FL.ChangeParent(
"NumKeyPanel.NUMPanel","form1"'-should change the parent, but even forcing the new parents name won't work
End Sub
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!

Last edited by Cableguy : 10-22-2008 at 07:57 PM.
Reply With Quote
  #2 (permalink)  
Old 10-22-2008, 08:05 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Can you upload your complete code?
I made a small program with ChangeParent and it worked fine.
Reply With Quote
  #3 (permalink)  
Old 10-22-2008, 08:21 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

There may be some diferences in my actual coe as it has passed throught a few testings...and fail...
Attached Files
File Type: sbp xxx.sbp (571 Bytes, 10 views)
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #4 (permalink)  
Old 10-23-2008, 09:26 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You forgot the module file...
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
Conditional runnig of modules Cableguy Basic4ppc Wishlist 2 10-11-2008 03:30 PM
Designer with modules derez Beta Versions 3 09-18-2008 05:02 PM
Modules - more information Erel Beta Versions 4 09-02-2008 05:42 AM
Unhiding hidden modules? agraham Beta Versions 0 08-27-2008 06:14 PM
add to formlib Cableguy Basic4ppc Wishlist 0 05-14-2007 07:25 PM


All times are GMT. The time now is 02:55 AM.


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