Вопрос

Am using power builder 10.5. Am having a data window as a base object. And doing some base coding in it. I am having some Boolean instance variables in it. When i use this user object at base window , on the properties bar i can see the check box for the Boolean Variables which i declared on base user object. like wise for string a text box and integer data types. My requirement is to have an radio button and combo box in that bar. Do any one knows about this. For this how i want to code in the base object , so the developer can choose either one option, that will reflect in the base code.

Thanks and regards ~ Pushparaj V.(India)

Это было полезно?

Решение

Actually, there is a possibility: it consists in the undocumented property "descriptor" that one can add to a userobject property to tell how a property should be displayed / manipulated.

You can have a description in the (French) PBadonf thread about descriptors. It is my only information source, let me know if you need more info.

Другие советы

We don't have any control on how the properties are presented.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top