AbouPanel Library

Cableguy

Expert
Licensed User
Longtime User
HI guys!!

Thanks to this great comunity, and special thanks to dzt and agraham, I've now able to present a decently working dll...
an "AboutPanel"...to use on the device...Thought it works on the desktop, there are some issues about the control position, If there are enoughht interest, I'll create a desktop version, correcting this issue...
This is a custom form/control dll wich displays a 200x150 form with 4 labels, 1 picture box and 1 button...
The labels are:

CationText : A text to be displayed int the Caption bar
TitleText : Well...some kind of Title text
MainTexT : need help with this one?
CopyrightText : Small print....
Logo : the image in the picturebox

Button is not a property, when clicked it disposes of the control

Hereis a screenshot

aboutpanelcaptureva5.jpg



PS: I don't understand why but in landscape the form is added both horizontal and vertical scrollbars...I'll have to look into it...any thoughts?
aboutpanelcapture2qn0.jpg
 

Attachments

  • About Panel.zip
    10.1 KB · Views: 360
Last edited:

dzt

Active Member
Licensed User
This is a live example of what can make the force of will.
Beginning from the scratch, in so much little time!
:sign0188:​

EXCELLENT JOB!!!
 

Cableguy

Expert
Licensed User
Longtime User
Only 2 more request for this dll to be "as I want it to be":

How to get rid of the scrollbars in landscape mode?, do i need to resize the control acording to the screen mode?

Why/what is the "toString" property There/for and how to remove it...
 

dzt

Active Member
Licensed User
How to get rid of the scrollbars in landscape mode?, do i need to resize the control acording to the screen mode?

I've quickly tested in a "normal" PPC (yours as I remember has a VGA? Try to resize it) and the scrollbars problem does not exist.

Why/what is the "toString" property There/for and how to remove it...

You should live with this. Exists in every library.
 

Cableguy

Expert
Licensed User
Longtime User
Once again Thank you dzt...

Yes my device supports vga but it's is not set to work as a vga..
Since vga screens are still not that popular, maybe I'll concentrate on other jobs (dlls)....

Erel, you're comment was very appreciated, but I would like to ear from others about their experience, wiahes and critics about my dll...
 

taximania

Well-Known Member
Licensed User
Longtime User
Good stuff Cableguy.
A much better 'About Screen' than a new Form.

The compiled .dll works on my device, (that makes a change for me).
It's also fully configerable, (all the 'a.' 'bla bla' options work)
It even shows .GIF images.

Any chance you can post the code to see if i'm able to compile a working .dll
Laughs lots cos I don't know what I've not got installed that I should have :sign0188:
 

Cableguy

Expert
Licensed User
Longtime User
@ Taximania:
Of course my friend, this forum purpose is just that:
SHARING INFORMATION...
 

Attachments

  • AboutPanel.zip
    15.3 KB · Views: 136

taximania

Well-Known Member
Licensed User
Longtime User
@ Taximania:
Of course my friend, this forum purpose is just that:
SHARING INFORMATION...

I can alter the code and compile to many different options, CF1, CF2, etc, using SharpDevelop2.2, but they only work on the desktop.

Capture2.jpg


Error on device.

Capture3.jpg
Capture4.jpg


2 side by side screen shots from device. Are these files named correctly ?
They're in the 'Windows' directory.
The Windows\.NET CF 2.0\ has no files in it. Why was this directory made ??

Don't fall over each other with answers to my problem

I'm going to Spain for a week Tuesday. :cool:

See my post in 'Chit Chat'
 

Cableguy

Expert
Licensed User
Longtime User
I got the same error trying a tramsparent non-rectangular form....
see my post in Q&A...
 

Softselect

Member
Licensed User
Hi cableguy,
I used you about panel for a splash screen, works great.
what are the posibilities for changing the size of the panel eg a.new1 (panel,35,5,185,25) and on the desktop displaying it in the form window, on my Pc, the panel is displayed in random positions.
I attach my code how i use it
Keep up the good work on DLL's
thx
Friedrich:)
 

Attachments

  • Splash screen.sbp
    810 bytes · Views: 38

Cableguy

Expert
Licensed User
Longtime User
My first intent was to create a good looking about panel for the device were we could just pass the string we wanted it to contain, plus a logo, and not worry about the graficas aspect...

I'll see what I can do, but I also suggest you to use the special form lib as it only works on the desktop and support non rectangular forms...
You can place it wereever you want and add any amount objects to it (they are visible only in inside the form....), thus creating your won custom screen...
 

Cableguy

Expert
Licensed User
Longtime User
HELP...

My Dll does not work with v6.3, and I can't figure out why....

The IDE just "explodes" and I get a message saying that there sorry for the incovinience, and that I should try to save my work and close the IDE...

HELP!!!!
 

agraham

Expert
Licensed User
Longtime User
Which version of the dll? Which IDE, device or desktop?

The version in the first post of this thread works fine for me on both device and desktop with v6.30 under .NET 2.0.

The code in post #9 seems different to that which was used to compile the version in post #1. If you post the code you are currently using and the dll I will try both your compiled dll and one that I compile from that code.
 

Cableguy

Expert
Licensed User
Longtime User
i used the first post, since i had to format my desktop some time ago and "lost" the source code...
I runned the dll in the desktop with B4PPC 6.3, and I get just that cordial message saying that B4ppc has encoutered a problem and need to close, so i should save my work, bla bla bla...
If I remove the dll from the project, all works ok....
I'm puzzled...
 

agraham

Expert
Licensed User
Longtime User
Does it happen with your demo app included in that first post?

If so have you tried an optimised compile? That might give a different error message if it fails.

If it is a different project then post the failing source and I'll see if it works for me.
 

Cableguy

Expert
Licensed User
Longtime User
Thanks Andrew, I will post later in the evening....
In this case it's just a sub, basically a copy-paste from my demo...called upon a menu selection...
 

Cableguy

Expert
Licensed User
Longtime User
As promised here is my project so far...
This is my second try at this project...first try was at 80% when I struck a wall...
Hopefully, with the new things learned, this "Alpha" version will arise to 95% working, so that the forum users can test it and comment...

My own example on post #1 does work, but I have to had the AppPath keyword to the Logo picture path...

In my app, even a copy past does not work...
I'm guessing some interaction with another of the two dlls is compromising the app....

Once again, Andrew, thanks for the time to test this...

EDIT:
In the INI4PPC project i was naming the AboutPAnel object as "About", wich was the cause of the problem....
Sticking with th simple "a"as in the sample, dos work OK...
The question remains...Why?
 

Attachments

  • INI4PPC.zip
    36.8 KB · Views: 34
Last edited:
Top