Page 3 of 4

Re: Border around GET

Posted: Tue Sep 25, 2012 8:25 pm
by ukoenig
Frances

I added a Testbutton.
External SetFocus works fine and draws the Border.

dDate := Date()
@ 70, 95 DTPICKER oDate VAR dDate SIZE 50, 12 FONT oGetFont OF oDlg PIXEL
oDate:bGotFocus := {|hDC| Draw_Box( oDlg, oDate, nColorF, nSpace, nPen, 0, nStyle, nShPos ) }
oDate:bLostFocus := {|hDC| Draw_Box(oDlg, oDate, nColorL, nSpace, nPen, 0, nStyle, nShPos ) }



@ 170, 80 BTNBMP oBtn1 OF oDlg ;
SIZE 70, 25 PIXEL 2007 ;
NOBORDER ;
PROMPT "&Border " ;
FILENAME c_path + "\Bitmaps\Select.Bmp" ;
ACTION ( oDate:SetFocus(), oDate:Refresh() ) ;
FONT oGetFont ;
LEFT

Image

Best Regards
Uwe :lol:

Re: Border around GET

Posted: Wed Sep 26, 2012 12:53 am
by fraxzi
Dear Uwe,

I already did that.. but when redefine dialog was init.. the DatePicker has no border even if I put oDate:SetFocus() on dialog's init..

Re: Border around GET

Posted: Wed Sep 26, 2012 10:20 am
by ukoenig
Frances,

I'm working on a Solution using RESOURCES !!!
Define Color- or brushed Border.
This Solution doesn't need Focus / Lostfocus of a Object.
( but can be used as well )
Define a Borderchange on any Action and Object You like.

I think I will Update the Tool I created and it will work on Code and Resource.
Also there will be a Brush-support, not possible with the Solution I created before.

Image

Best Regards
Uwe :lol:

Re: Border around GET

Posted: Thu Sep 27, 2012 12:36 am
by fraxzi
Dear Uwe,

Looking forward for the update. Thanks :D

Re: Border around GET

Posted: Thu Sep 27, 2012 6:04 pm
by ukoenig
Frances,

a extra Tool, only for Resources.
Realtime Tests of Colors and Brushes.
Get / Lost Focus and external color / brush - border-define is supported.

Download ( 1.3 MB ) :
http://www.service-fivewin.de/fw_downloads/resbord.zip

Image

Image

Best Regards
Uwe :lol:

Re: Border around GET

Posted: Fri Sep 28, 2012 12:20 am
by fraxzi
Dear Uwe,

I downloaded and will test this weekend.. I will adapt and post feedback asap.
Thank you so much for the great efforts!

Re: Border around GET

Posted: Fri Sep 28, 2012 10:16 am
by ukoenig
Frances

There will be still some more options.
Getting some funny effects, using a Gradient :

Image

Image

Image

Best Regards
Uwe :P

Re: Border around GET

Posted: Thu May 27, 2021 5:21 pm
by karinha
Master Uwe, would it be possible to make the download available again, please?

Regards, saludos.

Re: Border around GET

Posted: Fri May 28, 2021 5:35 am
by ukoenig
All fixed ( images and download ) :!:

pflegeplus.com
has changed to
service-fivewin.de

regards
Uwe :D

Re: Border around GET

Posted: Fri May 28, 2021 2:39 pm
by karinha
ukoenig wrote:All fixed ( images and download ) :!:

pflegeplus.com
has changed to
service-fivewin.de

regards
Uwe :D



http://service-fivewin.de/


Master Uwe, nothing is working. Is this correct? There is no douwnload area. thanks.
If it is not possible to send the download, there is no problem. Hugs.

Regards, saludos.

Re: Border around GET

Posted: Fri May 28, 2021 4:12 pm
by ukoenig
João,

The download-name still exists
just the DOMAIN-name changed
this is the complete link I posted

I'm just preparing a new release much better to handle :!: :!:

http://www.service-fivewin.de/fw_downloads/resbord.zip

with the new tool You caan design borders in realtime
with a new created border-function easy to use.
the related source ( functioncall with parameter ) will be visible in folderpage 2
The folderpage 3 shows the border-function

still the radios have to be included as well two color selections
one for the background and one for the border to check the contrast

any change of the radios is painting new borders.

Image

best regards
Uwe :D

Re: Border around GET

Posted: Fri May 28, 2021 5:54 pm
by karinha
Great!! Super many thanks master. Regards, saludos.

Re: Border around GET

Posted: Sun May 30, 2021 8:03 am
by ukoenig
Here is a preview of the new release ( looks much different )
many things are added like a detection of the needed textcolor
like contrast used in xBrowse
You can select a background and a wanted border-color,
a defined border-distance and much more like You can see on
the radioselection-area.

glowing borders with a defined distance from the object outline

Image

the generated source-result

Image

solid lines on a light background with no distance

Image

best regards
Uwe :D

Re: Border around GET

Posted: Mon May 31, 2021 7:03 pm
by ukoenig
I completed the tool
don't forget to check the makefile. :!:
Let me know if something doesn't work
After creating Your own sample don't forget to
use < refresh source > on folderpage 2 to generate the new sample :!:
On folderpage 3 You can create the new exefile

http://www.service-fivewin.de/FW_Downloads/Newbord1.zip

best regards
Uwe :D

Re: Border around GET

Posted: Mon May 31, 2021 7:46 pm
by karinha
It's just spectacular. Very very good. Super grateful.

Es simplemente espectacular. Muy muy bien. Super agradecido.


Regards, saludos.