Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - PtFileSel: Page 1 of 3 (3 Items)
   
PtFileSel  
Hi,

I'm using PtFileSel in my application and I'm not able to update the Pt_ARG_FS_FILE_SPEC, Pt_ARG_FS_LBL_NAME parameters 
at runtime.

I want to filter the files displayed and I want to change the Name of the column at runtime. Below is the code snippet 
for the same:
PtRealizeWidget();
PtSetResource(ABW_WGT_NAME, Pt_ARG_FS_FILE_SPEC, "*.cpp",0);
PtSetResource(ABW_WGT_NAME, Pt_ARG_FS_LBL_NAME, "Select Files", 0);

The above steps doesn't provide the desired output. However, if I modify the corresponding resources in the design, I'm 
able to observe the output. 

Please let me know if I'm missing something or I need to do anything additionally.

Thanks,
Lakshminarayanan.R