table issues
Hi farshizzo.
Could you please help me out again? thanks in advance. several weeks ago, you taught me how to make a pop-up table in Vizard. and you said it was an undocumented module. I tried to get a space to put a picture link so that I can show the table I want but I failed. My table is like the following: ID (input field) Attrbute 1 Attrbute 5 (input field) (input field) Attrbute 2 Attrbute 6 (input field) (input field) Attrbute 3 (input field) Attrbute 4 (input field) (accept butten) (infer butten) (cancel butten) I need to make this table dragable and the size can be changed like a normal window in WinXP because I need to put it on the left side of the screen. and also I need it transparent so that I can see the avatars behind it. In addition , how can I make a screen shot in Vizard? I really need to make it reach my requirement. So please help me out. If someone else can help me this, I also appreciate it. Thanks a lot. |
When you post on the forum you can attach images. Just click the Manage Attachments button and it will allow you to upload an image from your computer.
The vizdlg module does not have built-in support for dragging/resizing. You can make the background of the dialog semi-transparent by using the following code: Code:
dlg.background.alpha(0.6) |
1 Attachment(s)
Attachment 237
Thanks for help. The table I want is like this one. In addition, if the table cannot be dragable and resizable, I just wanna put it on the left side of the screen. How can I do this? I think it's like manually set the position value. Could you please tell me the solution? Thank you.:rolleyes: |
You can use the setPosition() command on your panel to place it on the left side of the screen. By default the panel is aligned to its upper left corner, so you can place it on the left side of the screen by using the following code:
Code:
panel.setPosition(10,500) |
Thank you very much. :) I tried that background attribute and it's ok. The setPosition one which I tried, it's not working. I know I may put it in the wrong position but because the form is using vizdlg. I see that link function and it can only link it to leftcenter of the whole picture. And actually only part of the table can be seen in the screen by that link function. I still cannot put it on the leftupper corner of the screen so that I can see the entire table in the screen. I just put my code here. Could you please tell me where I should put it?
In addition, the textbox is still not transparent though the table background is. Is is possible also make the textbox transparent? Since I tried that background which textbox doesn't have, could you please also tell me how I can do this? Thank you. Here is my code.:rolleyes: Code:
#######################form starts here |
The setPosition is not doing anything because it is being overwritten by the link you created with it. Try the following code to place your form on the left side of the screen.
Code:
form = MyForm(title='Personal Details',background=False,align=vizdlg.ALIGN_LEFT_TOP) |
All times are GMT -7. The time now is 12:40 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC