| Type | Issue | Status | submitted | Date | 3-Dec-2011 09:03 |
|---|---|---|---|---|---|
| Version | alpha 111 | Category | n/a | Submitted by | meijeru |
| Platform | All | Severity | minor | Priority | normal |
| Summary | How to add to a gob's DRAW block |
|---|---|
| Description |
I create a window-gob as follows:
WIN: VIEW/NO-WAIT [... some dialect ...] I then want to add to a sub-gob's DRAW block (which exists, I have checked that), prior to showing the window, by: APPEND WIN/1/1/DRAW [LINE-WIDTH 2.0 LINE 8x50 370x50 ...] SHOW WIN The error message says: ** Script error: expected command! not line-width ** Where: show do either either either -apply- Apparently the block to be appended must be bound, but to what? |
| Example code |
| Assigned to | n/a | Fixed in | - | Last Update | 3-Dec-2011 12:00 |
|---|
| Comments | |
|---|---|
|
(0003218)
meijeru 3-Dec-2011 12:00 |
I have meanwhile discovered a solution, which I think is not the optimal one:
blk: make block! [] to-draw [line-width ...] blk append win/1/1/draw blk Any other suggestions? |
| Date | User | Field | Action | Change |
|---|---|---|---|---|
| 3-Dec-2011 12:00 | meijeru | Comment : 0003218 | Added | - |
| 3-Dec-2011 09:03 | meijeru | Ticket | Added | - |