Hi everyone!
Im pretty new to powerbuilder and its my first time to build an app using powerbuilder.net
my situation here is, I have created a data entry application that consists of 2 datawindow to show the product, and product version respectively. The values/contents of the version_datawindow are dependent on the index of product_datawindow. i have set both of the datawindows to dw_prod.object.datawindow.@readonly=true/dw_ver.object.datawindow.@readonly=true. I have a ribbon menu control for my action handlers.
Whenever i press the Add button, two datawindows will set is @readonly property to false.
my question is this.
- when i press the ADD button, the datawindows are still on @readonly=true
- i have put the protect in the script so whenever the add is clicked, the newrow is only editable
- i have put tab order in my datawindows
- is it a bug that datawindows cannot change @readonly property?
- what would be the reasons why i cannot type on my datawindow?
notes:
i have tried this methods
dw_prod.object.datawindow.readonly='yes'/'no';
dw_prod.modify("Datawindow.readonly='Yes'/'No'")
please help.
thanks guys and more power!