FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Add news resource ids to app ?
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM

Add news resource ids to app ?

Posted: Tue Jan 16, 2007 03:19 AM

Hi,
An app dialog linked with DLL ,could I add new resource ids at runtime ?
for example:

function main()

define dialog odlg resource "odlg"

redefine get cget1 id 101 of odlg
redefine button id 102 of odlg

activate dialog odlg on init (addnewids())

return

function addnewids()
redefine button id 103 of odlg
// id 103 does not exists in resource odlg
return

Best regrad!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Add news resource ids to app ?

Posted: Tue Jan 16, 2007 03:35 AM

Shuming,

function addnewids()
@ 2, 2 BUTTON "Another" of odlg
return

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM

Add news resource ids to app ?

Posted: Tue Jan 16, 2007 07:12 AM

Antonio,

Thanks!

Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 142
Joined: Sun Oct 09, 2005 10:59 AM

Add news resource ids to app ?

Posted: Tue Jan 16, 2007 12:30 PM

Hi,

Antonio , can objects from source be merged with objects from resources ?

Maybe a better aproach is to first redefine all objects from the dll , but then hide what not is needed

frank

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Add news resource ids to app ?

Posted: Tue Jan 16, 2007 02:10 PM

Frank,

> can objects from source be merged with objects from resources ?

viceversa: objects from resources with objects from source code

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion