Show Bid Request
Control Zorder
Bid Request Id: 21292
|
|
|
Description:
I have a screen that creates dynamic controls at runtime. The user can make changes to the controls properties including reordering which controls are on top of other controls. On the form unload event, all new control properties are saved.
When the program is reloaded, the controls previously created and saved by the user are reloaded. My problem is I lose the zorder of the controls, how the user had them. I can use zorder to send controls to the front or back, but I need a to store the complete zorder of all controls, no matter how many controls are stacked on top of each other.
Alright, I'm using two control arrays, one is a label array and the second is an image control array. Both control arrays are inside of a picturebox.
I need to track the zorder of all controls in both the arrays inside of the picturebox.
I need a function that will enumerate thru the controls on a window and return the exact zorder of each control to the relationship of all the other controls, so that I can recreate this zorder later.
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
Complete copyrights to all work purchased.
Platform:
Windows XP, 2000, NT, 98
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
This bid was accepted by the buyer!
|
$85 (USD)
|
Jul 11, 2002 1:31:18 AM EDT
|
9.68
(Excellent)
|
|
|
Hello Tom First of all, I can not read 'absolute' Zorder of cotrols in form. But I can save changes of Zorder that were made by user at 'runtime'. I write form controls Zorder changes in file CtrlZOrder.txt. You can load them when form loading. See example. If you delete file CtrlZOrder.txt program loads with Zorder of 'design time'. Then you can change order: 1. Click at control - choose control for Zorder changing. 2. Click button 'Send to Back' or 'Bring to Front'. Changing writes in file CtrlZOrder.txt. 3. Then you can stop writing in file - press 'Stop saving' 4. Make some more changes in Zorder. 5. Play old Zorder - it will be set as it was before you pressed 'Stop Saving' ' If it is enough for you - welcome Victor
|
|
Attached File
|
|
|
|
|