Hi, I'm using a PtFileSel widget. When I drag and drop this widget from the widget toolbar, I see a header "name" getting displayed on top of PtFileSel widget even at runtime. I tried removing that but in vain. The below link doesn't provide information on disabling that http://www.qnx.com/developers/docs/6.4.0/photon/widget_ref/ptfilesel.html. Is it possible to avoid that header? Thanks, Lakshminarayanan.R
Hi, Do you want to change 'Name' to something else, or you don't want that label at all? -Derek ________________________________ From: Lakshminarayanan R [mailto:community-noreply@qnx.com] Sent: Mon 27/04/2009 8:52 AM To: photon-graphics Subject: PtFileSel Hi, I'm using a PtFileSel widget. When I drag and drop this widget from the widget toolbar, I see a header "name" getting displayed on top of PtFileSel widget even at runtime. I tried removing that but in vain. The below link doesn't provide information on disabling that http://www.qnx.com/developers/docs/6.4.0/photon/widget_ref/ptfilesel.html. Is it possible to avoid that header? Thanks, Lakshminarayanan.R _______________________________________________ Photon microGUI http://community.qnx.com/sf/go/post28119
If you don't want a header at all, make sure that Pt_ARG_FS_FORMAT is an empty string.
Hi, OK, if you don't want that label at all ... Pt_ARG_FS_FORMAT delete the default 'n' value ... -Derek ________________________________ From: Lakshminarayanan R [mailto:community-noreply@qnx.com] Sent: Mon 27/04/2009 8:52 AM To: photon-graphics Subject: PtFileSel Hi, I'm using a PtFileSel widget. When I drag and drop this widget from the widget toolbar, I see a header "name" getting displayed on top of PtFileSel widget even at runtime. I tried removing that but in vain. The below link doesn't provide information on disabling that http://www.qnx.com/developers/docs/6.4.0/photon/widget_ref/ptfilesel.html. Is it possible to avoid that header? Thanks, Lakshminarayanan.R _______________________________________________ Photon microGUI http://community.qnx.com/sf/go/post28119
Thanks, it is solved by removing n from the Pt_ARG_FS_FORMAT. Strangely, I have been through this flag and this option but presumed the purpose of n in it.