HMG 4 Started

Moderator: Rathinagiri

Post Reply
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 4 Started

Post by sudip »

Hello,

Spinner Font name, size, bold, italic, underline, strikeout added. :)
With best regards,
Sudip
User avatar
Roberto Lopez
HMG Founder
Posts: 4012
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 4 Started

Post by Roberto Lopez »

sudip wrote:Hello,

Spinner Font name, size, bold, italic, underline, strikeout added. :)
Ok.

It looks good, but the problem is that you can't change these properties at run-time now.

I've made some changes to control.prg.

Update your code and look at line #1004.

I've added the logic to make the Fontsize be changed at runtime.

I'll proceed with the other font properties.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4012
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 4 Started

Post by Roberto Lopez »

Roberto Lopez wrote:
sudip wrote:Hello,

Spinner Font name, size, bold, italic, underline, strikeout added. :)
Ok.

It looks good, but the problem is that you can't change these properties at run-time now.

I've made some changes to control.prg.

Update your code and look at line #1004.

I've added the logic to make the Fontsize be changed at runtime.

I'll proceed with the other font properties.

I've just finished the work for all font properties in control.prg

See how it works in Spinnner's demo1

That is the way that you can follow for the rest of the properties.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4012
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 4 Started

Post by Roberto Lopez »

Roberto Lopez wrote:
I've just finished the work for all font properties in control.prg

See how it works in Spinnner's demo1

That is the way that you can follow for the rest of the properties.
And, I've added run-time functionality to row, col, width and height properties.

This will make the code simpler and compact. Take a look at the EditBox's Create() method.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 4 Started

Post by sudip »

Hello Roberto,

Fantastic :D
Great idea and code for Font :)

(Sorry, for my delay to answer)

I shall change my code in Spinner control.

Regarding EditBox row, col and height changes, excellent use of ::Self object. :)

It's a great experience to volunteer in this project. I am really grateful to you for this learning. Now, I understand I know very little about programming.

Please tell me what shall I do next.
With best regards,
Sudip
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 4 Started

Post by sudip »

Hello Roberto,

You already changed the Font related code in Spinner. Thanks a lot :)
Roberto Lopez wrote:That is the way that you can follow for the rest of the properties.
Ok, I shall do.
With best regards,
Sudip
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 4 Started

Post by sudip »

Hello,

ReadOnly property code added to Control.prg and Spinner.prg
Last edited by sudip on Mon Aug 16, 2010 8:31 am, edited 1 time in total.
With best regards,
Sudip
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 4 Started

Post by mol »

I can try my work with LABEL if it's free.
Marek
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 4 Started

Post by mol »

I found an error in source\window.prg at line 798:
the code is:

Code: Select all

			Return ::aBcackColor
I think, it should be:

Code: Select all

			Return ::aBackColor
I can't commit changes.
My sourceforge account is mol68
Add me to the list, please
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 4 Started

Post by sudip »

Hello,

Wrap property code added to Spinner Control.
With best regards,
Sudip
Post Reply