PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Setting properties

I want to put text into the cell I click on a grid. I go to the WM_Click event and place the code:

setproperty(a$,"Text","Hello");

I have also tried
setproperty(hwnd$,"Text","Hello"); and
setproperty(control$,"Text","Hello");

Nothing seems to work. I have also tried other proporties without luck.

PPL has been great at making programming syntax easy. The ultimate ease for programming would come if there was a way to use the very familiar:

a$.Text$ = "hello";
Hi,

Unfortunately you will have to get a list of all possible properties for that component using Properties() (I believe it is). This way you will know what property names to set or get.

Send me a little bit more code so I can see what is the problem.

SetProperty uses the activex handle returned by the activex creation function.

Unfortunately I wont be able to change PPL syntax to support anything like this. I dont find ActiveX to be a priority in PPL and they are not very portable.
darn, most of my programs are grid based. is there anything i can do.