Forum Discussion
Hi,
Check the class property for both radiobuttons. Are they members of one class?
- escap8910 years agoContributor
Class property?
In TC i dont have that property (as u can see on screen)
Developer said that all properties are same for both fields (visible / invisible). Well i think in PowerBuilder they do not have class property too.
Yes i am able to do whatever i want with these fields manually in application.
If i put object spy coursor on object it dosent see it but i can see it in object browser - diffrence is visible property.
1. Yea but i need to click for example dropdown field to choose smth with key("down") and i cant do that atm.
2. I asked developer if its posibble he have that bug.
What developer told me before was that in these 20% types of "countries" he replace some fields on "open event" in powerbuilder but in logic way it shouldn't affect in this case - cause he replace a field that i dont want to click ( i skip that one anyway).
- escap8910 years agoContributor
2. Dev answer:
"What Pb is doing is unfortunately not known to me.
We replace actual dataobject insinde Datawindow to another almost the same. We dont create publicly a new datawindow"
- Colin_McCrae10 years agoCommunity Hero
As I say, I've never tested a PowerBuilder application, so these were just suggestions.
But this:
"What Pb is doing is unfortunately not known to me. We replace actual dataobject insinde Datawindow to another almost the same. We dont create publicly a new datawindow"
... especially the part in bold/italic does sound suspiciously like they have created a second instance of something? It might explain your ControlIndex of 2. But then, a cluster of radio buttons could also report a control index this way. I don't know how PowerBuilder radio buttons are presented.
So I guess my suggestion is still a possibility. But it also sounds like your dev team don't really understand the controls they're working with. Which would concern me! ("What Pb is doing is unfortunately not known to me." !!!)
If they are creating duplicate instances, I would normally expect these to be visible to me in the object model. But as they also mentioned they don't create it publicly, so maybe not. Someone who knows PowerBuilder would know better than I do. Normally, I would expect that to be the dev team, but in this case, maybe not ....