Hi LoneVoice,
1.
...Is there a way to get position and size of a component? Right now Left/Top/Width/Height .
I will try later....
2.
...add component to form/custom dialog using code but failed
I will try later....
3.
...change color of a button, but then we lost "touch effect" when touching it
Solution:
Put a jPanel and change its Backgroundcolor, then configure [after put the button over it!]:
LayoutParamWidth = lpWrapContent
LayoutParamHeight = lpWrapContent
Now put a jButton over jPanel and configure:
BackgroundColor = colbrDefault
LayoutParamWidth = some value
LayoutParamHeight = lpWrapContent
PosRelativeToParent = [rpCenterInParent]
Thank you!