Border around GET

Re: Border around GET

Postby ukoenig » Tue Sep 25, 2012 8:25 pm

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:
Last edited by ukoenig on Fri May 28, 2021 5:17 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Border around GET

Postby fraxzi » Wed Sep 26, 2012 12:53 am

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..
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Border around GET

Postby ukoenig » Wed Sep 26, 2012 10:20 am

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:
Last edited by ukoenig on Fri May 28, 2021 5:19 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Border around GET

Postby fraxzi » Thu Sep 27, 2012 12:36 am

Dear Uwe,

Looking forward for the update. Thanks :D
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Border around GET

Postby ukoenig » Thu Sep 27, 2012 6:04 pm

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:
Last edited by ukoenig on Fri May 28, 2021 5:29 am, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Border around GET

Postby fraxzi » Fri Sep 28, 2012 12:20 am

Dear Uwe,

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

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Border around GET

Postby ukoenig » Fri Sep 28, 2012 10:16 am

Frances

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

Image

Image

Image

Best Regards
Uwe :P
Last edited by ukoenig on Fri May 28, 2021 4:32 pm, edited 6 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Border around GET

Postby karinha » Thu May 27, 2021 5:21 pm

Master Uwe, would it be possible to make the download available again, please?

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7828
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Border around GET

Postby ukoenig » Fri May 28, 2021 5:35 am

All fixed ( images and download ) :!:

pflegeplus.com
has changed to
service-fivewin.de

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Border around GET

Postby karinha » Fri May 28, 2021 2:39 pm

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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7828
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Border around GET

Postby ukoenig » Fri May 28, 2021 4:12 pm

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
Last edited by ukoenig on Sun May 30, 2021 8:02 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Border around GET

Postby karinha » Fri May 28, 2021 5:54 pm

Great!! Super many thanks master. Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7828
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Border around GET

Postby ukoenig » Sun May 30, 2021 8:03 am

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
Last edited by ukoenig on Tue Jun 01, 2021 6:54 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Border around GET

Postby ukoenig » Mon May 31, 2021 7:03 pm

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
Last edited by ukoenig on Tue Jun 01, 2021 6:22 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Border around GET

Postby karinha » Mon May 31, 2021 7:46 pm

It's just spectacular. Very very good. Super grateful.

Es simplemente espectacular. Muy muy bien. Super agradecido.


Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7828
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 28 guests