View Single Post
Old 10-07-09, 07:00 PM   #96
karamazovnew
The Old Man
 
Join Date: Mar 2009
Location: Bucharest, Romania
Posts: 1,403
Downloads: 151
Uploads: 0


Default

You can't have a draggable button. To drag it you must click it .
Let me see. You have a draggable item that also needs to control other items... So the draggable item must be the parent of all the other items. But you must still be able to click the other items, which becomes impossible since they're all "beneath" the parent. SO.
1.Make a big menu group as big as the screen
2.Make a Static Bmp Array item (or a Button). It must be draggable, so it needs to be BmpState=1, Needsfocus=true, Drag=true. This item will be your "handle" so put in a suggestive image.
3.Make another group and parent it to the "handle". But they must not intersect (ok they can intersect, but the part that intersects will move the tdc, you can't click "through" it).
4.Insert all the other items, including your autotdc button in the group you made at step 3.

In this way, you can only move the tdc if you click on the handle (so it becomes impossible to move the handle offscreen on the handle side, similar to how the notepad hides in SH4). I suggest you place the handle below the TDC so you can move it anywhere left to right and hide it at the top of the screen. To set the initial position of the TDC on the screen, you need to move the group at step 1 (easier to move than the handle). To move the TDC in relation to the handle, you only need to move the group at step 3. That should make it easy to place for you.

Last edited by karamazovnew; 10-07-09 at 07:21 PM.
karamazovnew is offline   Reply With Quote