Home » Developer & Programmer » Forms » Need to get conditional Window apprea in the form (FORM 10g)
Need to get conditional Window apprea in the form [message #510064] Thu, 02 June 2011 06:22 Go to next message
arijitglobal
Messages: 2
Registered: June 2011
Location: India
Junior Member
Hi,

I want to achieve functionality like below:

Let's say there are two almost identical window and some specific functions associated: W1 and W2.

Depending upon the login profile into the application only one window and associated functions will be appeared. This time the other window will be disabled.


Please let me know the way to achieve this.

Regards,
Arijit
Re: Need to get conditional Window apprea in the form [message #510069 is a reply to message #510064] Thu, 02 June 2011 06:43 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It looks as if two separate forms are better (?) choice.

Or: can't you achieve the same using only one window, distinguishing privileges with SET_ITEM_PROPERTY (or similar) built-in?
Re: Need to get conditional Window apprea in the form [message #510076 is a reply to message #510069] Thu, 02 June 2011 07:33 Go to previous messageGo to next message
arijitglobal
Messages: 2
Registered: June 2011
Location: India
Junior Member
I have used Set_Window_Property('WINDOW1',VISIBLE, PROPERTY_FALSE)

But it is not working properly. When ever I am using clt+F11 first form get appears.

I dont know how to stop that.

Yes, I also think saperate form is the alternative.

Regards,
Arijit
Re: Need to get conditional Window apprea in the form [message #510082 is a reply to message #510076] Thu, 02 June 2011 08:18 Go to previous message
cookiemonster
Messages: 13937
Registered: September 2008
Location: Rainy Manchester
Senior Member
arijitglobal wrote on Thu, 02 June 2011 13:33
But it is not working properly. When ever I am using clt+F11 first form get appears.


First form? You only have 1.

Do you have any key-exeqry triggers?
Do you have a relationship between the datablocks?
Previous Topic: calling function inside the procedure (merged 2)
Next Topic: How to design a Simple Graph
Goto Forum:
  


Current Time: Thu Sep 12 08:56:42 CDT 2024