Page 1 of 1

PostPosted: Mon Aug 27, 2007 9:09 pm
by antix
I have been sitting here trying to figure out something. I checked the chessclock example. That kinda helped. What i am trying to do is import a tFRM object from a resource database. I got it imported, at least i think so. Now im at the point where i need to load the form. I cant figure out how to get it to load the form resource. heres the bit i got:

{ id = 1000;
type = "tFRM";
res = "editordb,tFRM,1000";

handler editor.onstart() {???.load();}

I am at a loss as to what to do. I am kinda new to this. So can anyone give me a few pointers? (or variables or whatever FLOATs your boat. Sorry....Pocket C humor)

PostPosted: Tue Aug 28, 2007 2:02 am
by dewey
The language wasn't really designed to support this scenario. The runtime needs to know about the relationships between a form and its controls, which it can't determine from a raw resource.

PostPosted: Wed Aug 29, 2007 3:47 pm
by antix
Doh. Darn. I was hoping i could use RsrcEdit to create my forms. Oh well. Thanks anyway.