![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Tutorials Basic4ppc tutorials |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello Erel,
with controls that are dirrectly placed in the Form your workaround works well, but the first time I had problems with it where the controls on a panel. I scaled that controls separatly and it computes well. But now I have a VGA-problem with the Treeview-icons. How should I scale them? On the way: working with VGA in B4P is very hard, because the appereance is three times different: The desktop is another as the device and both are different as the compiled version, particulary if you should work with Fullscreen2(False,True), which will not work if you run the source in the device editor. Isn't it possible to have a real VGA-compatible device-editor ![]() Best regards berndgoedecke |
|
||||
|
You can add this code to handle the TreeView control:
Code:
Case "TreeView.TreeView":
Control(Controls(i),TreeView).Left = 2 * Control(Controls(i),TreeView).Left
Control(Controls(i),TreeView).Top = 2 * Control(Controls(i),TreeView).Top
Control(Controls(i),TreeView).Height = 2 * Control(Controls(i),TreeView).Height
Control(Controls(i),TreeView).Width = 2 * Control(Controls(i),TreeView).Width
Control(Controls(i),TreeView).ImageSize(50,50)
Load images and assign them only after calling this sub. A VGA device IDE will be available in the future. |
|
|||
|
Hi,
I am trying to adapt my TRPPC applet to make it automatically compatible with QVGA/VGA and Portrait/Landscape screens. I have come upon a strange problem (maybe I am stupid). I am trying to set the height of a table in a panel in a way to occupy the totality of the residual height after having accounted the space for other controls and the margins I want around them. But this automatically computed height gets bigger that the real residual space if the table needs scroll bars. So I understand that the size of these bars are not included in the .Height property of a Table. Am I wright? In order to solve the problem, I subtract some supplementary height when I set the height of the table (52 pixels in VGA). I have a menu in my application. Is there a better way to automatically set the height of the table? Regards, Murat
__________________
PC: Laptop CoreDUo, Windows XP SP2 French PPC: TyTN, WM5 French -> iPAQ 214 WM6 French (to diverge or not to diverge,...) Last edited by yildi : 02-23-2008 at 12:21 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why is my drawer.New2() not working? | willisgt | Questions & Help Needed | 3 | 06-29-2008 10:27 AM |
| working with date | gjoisa | Questions & Help Needed | 3 | 03-29-2008 09:40 AM |
| Working ipac METER??? | bGoody_iPAC_rx1950PPC | Questions & Help Needed | 2 | 03-20-2008 07:02 AM |
| Working with screen resolutions | Nycran | Questions & Help Needed | 25 | 02-13-2008 02:04 PM |
| working with FormExDesktop_1.2 | Cableguy | Questions & Help Needed | 20 | 01-28-2008 06:02 PM |