Home » Developer & Programmer » Forms » Master Details
Master Details [message #446704] Wed, 10 March 2010 00:56 Go to next message
ghadeer
Messages: 25
Registered: February 2010
Location: ksa
Junior Member
Hi All,
I have A master details Form ,I want to diplay both on the same window with hiding details block at run time , and ance item is triggerd in master ,detalis block appear
how can I do that
I have to put them in seprate canvus with same window???!!!

thanks in advance

[Updated on: Wed, 10 March 2010 01:36]

Report message to a moderator

Re: Master Details [message #446714 is a reply to message #446704] Wed, 10 March 2010 01:49 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You could use SET_ITEM_PROPERTY built-in and modify their (item's) VISIBLE property. However, it would not hide frames, scrollbar, etc.

Another option might be putting detail block onto a stacked canvas and display (or hide) it as necessary.
Re: Master Details [message #446721 is a reply to message #446714] Wed, 10 March 2010 02:32 Go to previous messageGo to next message
ghadeer
Messages: 25
Registered: February 2010
Location: ksa
Junior Member
Could I put details block in panel or fram and show/hide it ???
Re: Master Details [message #446730 is a reply to message #446721] Wed, 10 March 2010 03:10 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Yes, but you can't hide a block - you'd have to do that item by item (check differences between SET_BLOCK_PROPERTY and SET_ITEM_PROPERTY). However, as I've said, making all block items invisible won't hide canvas graphic objects (such as text, rectangles, lines, frames, ...) so you'll form would be ugly (i.e. I'd rather see detail block all the time).

Besides, why hiding a detail block? What's wrong with seeing it?
Previous Topic: Use Text Tool in programming....
Next Topic: Migrating Oracle forms 10gr2 from Windows to Linux
Goto Forum:
  


Current Time: Fri Sep 20 10:39:55 CDT 2024