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

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

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

fgGradientButtons (Buttons with Gradient-Color)

Reply
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 07-28-2010, 06:37 AM
Basic4ppc Expert
 
Join Date: Jul 2008
Location: Borchen, Germany
Posts: 571
Send a message via Skype™ to corwin42
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Filippo View Post
Deshalb empfehle ich dir diese vorgehensweise:
Therefore, I recommend this approach:
Code:
...
    scale = ScreenScaleX
    btnExit.left= 
170 * scale 
    btnExit.top= 
210 * scale 
    btnExit.Width= 
60 * scale 
    btnExit.Height= 
50 * scale 
...
Ok, this works. Thanks very much.
__________________
You like my work and it is useful for you? If you want you can donate me a beer here:
Need a DropBox account and want 500MB additional free space? Use this link to create your account: DropBox
Reply With Quote
  #42 (permalink)  
Old 07-31-2010, 11:38 AM
Senior Member
 
Join Date: Apr 2008
Location: Duesseldorf, Germany
Posts: 154
Default

Hi Filippo,

thanks for that outstanding work, it is a really big improvement against the standard gui elements, which are quite ugly...

Cableguy already raised that question earlier, but it was never answered:

How can i disable the "withpressedEffect"..? I found that a DockStyle-DockFill button is a good replacement for the non-existent bevelboxes i know from other languages.But i would like to disable this pressedeffect, according to the helpfile this should be achieved by "button.WithPressedEffect = false", which is apparently not the case...?



regards,

TWELVE
Reply With Quote
  #43 (permalink)  
Old 08-21-2010, 12:13 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hallo TWELVE,

entschuldigung das ich erst jetzt antworte aber ich war in Urlaub.

Hier ein Beispiel mit dem was ich mit der Eigenschaft "withpressedEffect" gemeint habe.


sorry that I answer only now but I was on vacation.
Here is an example of what I meant with the property "withpressedEffect.

Ciao,
Filippo
Attached Images
File Type: jpg Button with-without pressed effect.jpg (13.8 KB, 17 views)
Attached Files
File Type: sbp fgButtonsExample_2.sbp (894 Bytes, 6 views)
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #44 (permalink)  
Old 08-22-2010, 01:55 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi,

i have updated my library, Version 1.009.
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #45 (permalink)  
Old 03-18-2012, 07:49 AM
Senior Member
 
Join Date: Sep 2008
Posts: 111
Default

Hello Fillipo!

I use your library so many project, first thanks for shearing.
In this project I found a bug:

I use same button in two differebt state.
I have two wievs and when I step from first to other and rearange the controls what control change the with and height properties their didn't show competly.

Attach some picture, please see them!
Attached Images
File Type: png first_state.png (39.3 KB, 11 views)
File Type: png second_state.png (39.8 KB, 13 views)
File Type: png first_to_second_with_bug.png (50.4 KB, 9 views)
Reply With Quote
  #46 (permalink)  
Old 03-26-2012, 07:43 AM
Senior Member
 
Join Date: Sep 2008
Posts: 111
Default

Fillipo or anyone???
Reply With Quote
  #47 (permalink)  
Old 03-26-2012, 05:25 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hello pdabasic,

only on the basis of the pictures I can not see where the error is.
It would be beneficial if you were a part of your post code.

PS. My name is Filippo and not Fillipo .


Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #48 (permalink)  
Old 03-26-2012, 06:14 PM
Senior Member
 
Join Date: Sep 2008
Posts: 111
Default

Hy!

I'm so sorry for the misspelling your name!!!

Quote:
Originally Posted by Filippo View Post
Hello pdabasic,

only on the basis of the pictures I can not see where the error is.
It would be beneficial if you were a part of your post code.

PS. My name is Filippo and not Fillipo .


Ciao,
Filippo
The error is when I add control atruntime, show it on main form ("first_state") then hide it and set width and hight on the background and set visible again "second_state" only the original size is visible of the rearranged control and the other part is empty or capture the screen as you can see on the "first_to_second_state" image. It produces vica-versa

Last edited by pdabasic : 03-26-2012 at 06:21 PM.
Reply With Quote
  #49 (permalink)  
Old 03-26-2012, 06:49 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi pdabasic,

I'm sorry, I can also reproduce the error. Unfortunately, I know not whether I can fix it and when.

Can not you just generate the new button?
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #50 (permalink)  
Old 03-27-2012, 07:10 AM
Senior Member
 
Join Date: Sep 2008
Posts: 111
Default

Quote:
Originally Posted by Filippo View Post
Hi pdabasic,

I'm sorry, I can also reproduce the error. Unfortunately, I know not whether I can fix it and when.

Can not you just generate the new button?
Hello Filippo!

You tried it on device or tried to compile it?
I run just deug, but if this problem looks in the compiled app, i must to search an other way.
I use so many control, many states
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
Grouping radio buttons Caravelle Questions (Windows Mobile) 10 09-16-2009 11:25 AM
convert Color to B4ppc's color? Byak@ Questions (Windows Mobile) 2 07-13-2009 11:52 AM
NumUpdDown buttons skipper Questions (Windows Mobile) 1 01-22-2009 04:37 PM
Flashing text in buttons cdeane Questions (Windows Mobile) 6 04-14-2008 07:26 PM
Where are the buttons?? joedoe77 Questions (Windows Mobile) 2 12-24-2007 02:20 PM


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


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