Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Suzanne Mcguire (smcguire@borg.ssc.nasa.gov) wrote: : First, I apologize if this has been asked before. I am relatively new : to PV-WAVE. : I am attempting to write a GUI with a number of widgets. To organize : the widgets I would like to be able to create a layout on the main : window with a border on it, and then place certain widgets inside the : layout. I can accomplish that task, but if the layout has a border : specified on it, all widgets inside the layout also have the same : border. I have tried to set the border width to 0 for the widgets : inside the layout, but no change. : Like I said, I am relatively new to PV-WAVE. I have tried to look at : on-line demos, etc., but no luck. Any suggestions are appreciated. : Suzanne McGuire : Suzanne.McGuire@ssc.nasa.gov It depends on what kind of layout you want to create. For example, if you create a row/column layout with a border, all the widgets inside this layout will automatically have a border, even though you set the border width to 0. To get rid of this, you can create a FORM layout instead of ROW/COLUMN layout. If you define a border on this FORM layout, all the widgets inside this layout won't have border unless you specify that these widgets should have a border around them. It works fine for me. Hope this help !! KP. -- ************************************************************ ****************** Koon-Pong Wong Email : enkpong@encws8.en.polyu.edu.hk Department of Electronic Engineering The Hong Kong Polytechnic University Phone : (+852) 2766 6194 Hung Hom, Kowloon, FAX : (+852) 2362 8439 Hong Kong Office: DE503d ************************************************************ ******************