Welcome to the Project Developers' Table
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5477
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Welcome to the Project Developers' Table
Hi,
Let me welcome you the new category and forum for the Project Developers and Contributors of HMG 4. Here we can discuss everything about the new version.
With kind regards,
S. Rathinagiri.
Let me welcome you the new category and forum for the Project Developers and Contributors of HMG 4. Here we can discuss everything about the new version.
With kind regards,
S. Rathinagiri.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Welcome to the Project Developers' Table
Great!rathinagiri wrote:Hi,
Let me welcome you the new category and forum for the Project Developers and Contributors of HMG 4. Here we can discuss everything about the new version.
With kind regards,
S. Rathinagiri.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Welcome to the Project Developers' Table
after few hours of searching, testing, worse else... I've prepared label which accepts colors.
I placed whole label.prg as attachment.
Of course, it is not free from errors, but... works!
I placed whole label.prg as attachment.
Of course, it is not free from errors, but... works!
- Attachments
-
- label.zip
- (2.43 KiB) Downloaded 766 times
- luisvasquezcl
- Posts: 1258
- Joined: Thu Jul 31, 2008 3:23 am
- Location: Chile
- Contact:
Re: Welcome to the Project Developers' Table
Hi Rathi, great idea,
I am working on the control frame and I have it running, I am
starting to add the behavior before.
best regards
Luis Vasquez
I am working on the control frame and I have it running, I am
starting to add the behavior before.
best regards
Luis Vasquez
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Welcome to the Project Developers' Table
I've got an error:mol wrote:after few hours of searching, testing, worse else... I've prepared label which accepts colors.
I placed whole label.prg as attachment.
Of course, it is not free from errors, but... works!
Error BASE/1003 Variable does not exist: CTESTSTRING
I've fixed and tested and all appears to be ok now.
Some advises:
Take a look at the EditBox's create method code.
So, you'll must only invoke backcolor/fontcolor properties and not to rewrite it, ie:
Self:BackColor := ::aBackColor
The same applies to the other properties.
Please, remove the ntoc code and pas --lhbct parameter to hbmk2
Finally put the code of the new properties in the control class, so, we can access it from the other controls.
And to not forget to 'right click->paste filename list' when commiting.
Thanks.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Rathinagiri
- Posts: 5477
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
As of now, I had created all the specific properties/methods of checkbox and common properties/methods. Once we finish these common properties/methods, checkbox would be complete.
I have changed xValue to cValue in line 77 of label.prg as it would be the correct one.
Also, deleted one duplicate line in editbox.prg in line 203.
I had just copied nWidth and nHeight properties from Sudip's spinner control. I think this one is common property which can be used in control.prg. Once after that, I would remove the same from checkbox.prg too.
I have changed xValue to cValue in line 77 of label.prg as it would be the correct one.
Also, deleted one duplicate line in editbox.prg in line 203.
I had just copied nWidth and nHeight properties from Sudip's spinner control. I think this one is common property which can be used in control.prg. Once after that, I would remove the same from checkbox.prg too.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Welcome to the Project Developers' Table
Ok.rathinagiri wrote:As of now, I had created all the specific properties/methods of checkbox and common properties/methods. Once we finish these common properties/methods, checkbox would be complete.
I have changed xValue to cValue in line 77 of label.prg as it would be the correct one.
Also, deleted one duplicate line in editbox.prg in line 203.
I had just copied nWidth and nHeight properties from Sudip's spinner control. I think this one is common property which can be used in control.prg. Once after that, I would remove the same from checkbox.prg too.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Welcome to the Project Developers' Table
I've tried to arrange properties of label and it appears, that code fontcolor and backcolor must be rewritten in create method and fontcolor/backcolor method.Roberto Lopez wrote:I've got an error:mol wrote:after few hours of searching, testing, worse else... I've prepared label which accepts colors.
I placed whole label.prg as attachment.
Of course, it is not free from errors, but... works!
Error BASE/1003 Variable does not exist: CTESTSTRING
I've fixed and tested and all appears to be ok now.
Some advises:
Take a look at the EditBox's create method code.
So, you'll must only invoke backcolor/fontcolor properties and not to rewrite it, ie:
Self:BackColor := ::aBackColor
The same applies to the other properties.
Please, remove the ntoc code and pas --lhbct parameter to hbmk2
Finally put the code of the new properties in the control class, so, we can access it from the other controls.
And to not forget to 'right click->paste filename list' when commiting.
Thanks.
I think it's because it is not enough to assign color table to object data, it must be send a signal setStyleSheet to tho object.
Marek
Re: Welcome to the Project Developers' Table
Sorry, I don't know howRoberto Lopez wrote:
Finally put the code of the new properties in the control class, so, we can access it from the other controls.
....
I've commited source\label.prg
Tomorrow, I will work on next properties.
Beginnings are difficult and very energy-intensive