HMG Samples and Enhancements
Moderator: Rathinagiri
srvet_claudio
Posts: 2220 Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:
Post
by srvet_claudio » Thu Sep 26, 2013 1:23 pm
esgici wrote: esgici wrote:
I'll try
Hats to the air
Extremely appreciated dr.
You are a true life-saving hidalgo
Best regards
Thanks Friend
esgici
Posts: 4543 Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:
Post
by esgici » Thu Sep 26, 2013 2:11 pm
Hi Dr.
My teacher said me : "
Stay away from macro substitutions whenever possible "
How about a solution like this
Code: Select all
aColor1 := ACLONE( aColor )
aColor2 := ACLONE( aColor )
DRAW BORDER WINDOW cWindowName CONTROL cControlName UPCOLOR aColor1 DOWNCOLOR aColor2 SPACE nWidness
( Tested and approved in my side
)
Best regards
Viva
INTERNATIONAL HMG
srvet_claudio
Posts: 2220 Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:
Post
by srvet_claudio » Thu Sep 26, 2013 2:58 pm
esgici wrote: Hi Dr.
My teacher said me : "
Stay away from macro substitutions whenever possible "
How about a solution like this
Code: Select all
aColor1 := ACLONE( aColor )
aColor2 := ACLONE( aColor )
DRAW BORDER WINDOW cWindowName CONTROL cControlName UPCOLOR aColor1 DOWNCOLOR aColor2 SPACE nWidness
( Tested and approved in my side
)
Best regards
Very good!!!
esgici
Posts: 4543 Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:
Post
by esgici » Thu Sep 26, 2013 4:59 pm
srvet_claudio wrote:
Very good!!!
"Very good" was finding what the cause of the problem
Thanks again
Best regards
Viva
INTERNATIONAL HMG
mol
Posts: 3774 Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:
Post
by mol » Thu May 15, 2025 8:47 pm
I want to refresh this topic without creating new.
I want to add group a few controls and put them on the colored rectangle - something like frame, but with differend background color from form background color.
I've tried using LABEL as a background, but it causes problem with checkboxes, which become inoperable with mouse.
I thought about Bos Taurus library and BT_DrawGradientFillVertical , but I don't know how to operate on a piece of form, not whole.
Maybe someone knows the way to solve this problem?
I'll try with drawing rectangle, maybe it will be good?