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.

East or West HMG is the Best.South or North HMG is worth.
...the possibilities are endless.

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.

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'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.
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