Contributions
Re: How to set a text in a dropdown datawindow field in a powerbuilder application
With keys([Up]), I can select the row which is one row up to the default row selected. For example, Consider a Dropdown Datawindow field, with the list as follows: 1.SmartBear1 2.SmartBear2 3. SmartBear3 4. SmartBear4 5. SmartBear5 Row #3 (SmartBear3) is selected by default. Now If I execute Keys([Up]), it successfully selects Row #2 (SmartBear2). But considerthe requirement to select Row #1, I tried with Keys([Up][Up]), it stills selects Row #2 (SmartBear2). Please suggest if there is any way to solve this. Second Question, Is there any way todirectly set "SmartBear1" in the DropDown Datawindow Field.3.7KViews0likes1CommentHow to set a text in a dropdown datawindow field in a powerbuilder application
Hi, I am unable to set a text or select one of the value from the dropdown datawindow. Here is the code: function Test(){ //Run the "performmed" tested application. TestedApps.performmed.Run(); //With this. the Drop down datawindow field is clicked and the Dropdown menu popped up Aliases.performmed.wndFNWND312516.MDIClient.wndFNWND3125.none.Click(154,9); //After this, How can I select a value of the DropDown Datawindow without triggering a click. } Can anyone please suggest the solution.3.7KViews0likes6Comments