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.

Help Creating a dll

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 08-02-2007, 09:11 AM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Sorry agraham. These are my most productive b4ppc hours. If you look at my posts you will see...

And don't forget, my timezone is GMT+2

__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #22 (permalink)  
Old 08-02-2007, 06:22 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

Quote:
No pain at all. Noone is obligated to answer or help. It is a "COMMUNITY" matter helping each other.
And has lot of fun!!!
I understand you very clearly, as I'm also more easely driven to a chalange than to everyday's work....screw this bold, saw that iron plaque, etc....
I'ts more fun when someone just say ..."I need to do this, how do you think WE can achieve it?"

Thanks to you guys I'm ALMOST done, still one property manages to ilude me...The pictirebox.image property....All others are now working...

I used the same kind os statement but I think that the "Type" is not the correct one as the sharpdevelop error caching tell me:Cannot implicitly convert type 'System.Drawing.Image' to 'string' (CS0029) "

This is my Property code:

public string Logo
{
get {return pic.Image;}
set {pic.Image = value;}
}

PS.MSDN is very tricky to search and very not-objective in its tutorials, is there any site were I can get a good control refence tips??OR for that matter, any book you recomend?
__________________
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
  #23 (permalink)  
Old 08-03-2007, 11:24 AM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

A sample with a write only property (otherwise you should use a protected local variable to keep the image filename)

Code:
public string Logo
{
set {pic.Image = <font size=
"2"><font color="#0000ff">new</font></font><font size="2"> System.Drawing.</font><font size="2"><font color="#008080">Bitmap</font></font><font size="2">(value</font><font size="2">);}</font>
}
__________________
Dimitris Zacharakis
http://www.terracom.gr

Last edited by dzt : 08-03-2007 at 11:31 AM.
Reply With Quote
  #24 (permalink)  
Old 08-15-2007, 04:30 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

Now that I have learn the basics of a basic dll with just propertie setting, i'de like to go further and include some handling inside the dll....

In trying now to create a boderless form (targeting the full .net framework), in order to create a timed event (private) to make it fade in or out ( two seperate events) for a splash screen...

Also I'm specifying the background image in the constructor area and sizing the form to the loaded image size...but how to do it with a property set image....

I need help regarding this...

Thanks to dzt and agraham, i'm able to set the background as a public prop but cant get the form to resize....

How to set the form left/top props, are they related to screen size or form(basic4ppc control) size?

I just can't figure out how to work with timers (form controls)
I need to add 2 timers and use 2 private tick events...

please help...
__________________
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
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
creating chm files Ricky D Questions (Windows Mobile) 2 10-15-2008 10:03 AM
Creating process-real!!! Byak@ Code Samples & Tips 6 10-06-2008 01:59 PM
Creating SIP spectra9 Questions (Windows Mobile) 2 05-21-2008 02:32 PM
Creating code faster pmu5757 Basic4ppc Wishlist 0 04-13-2008 11:33 AM
Creating additional libraries Nycran Questions (Windows Mobile) 3 11-07-2007 04:51 AM


All times are GMT. The time now is 10:53 AM.


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