MarcMellor
Programmer
I am a science teacher trying to design an educational assessment program using VB6 (Pro). My Visual Basic is entirely self-taught.
I currently have a Picture control inside a Rich TextBox control into which I am able to copy diagrams at run-time. This works fine and the Picture control automatically resizes to the correct dimensions of the original diagram.
My problem are these -
- I need to be able to reposition the diagram at run time using the mouse in exactly the same way as it can be done at design-time.
- I need those handle-bars to appear when it is selected so that when the corner handle-bar is moved, the diagram is re-sized maintaining its horizontal to vertical proportions, and when the side or top handle bars are moved, the diagram is resized in the vertical or horizontal directions respectively with these proportions not maintained.
- As the diagram will be stored in a database I may need a way of recording the current top, left, width and height properties with it in the database so that when it is recalled , it is correctly positioned and dimensioned (or will this happen automatically?)
- I also need to have the background to the diagram invisible so that typing in the Rich TextBox underneath it can be seen.
I'm sure this can be done (it works at design-time) but the best I have managed so far is for the Picture control to be moved where it seems to feel like!
Any help with this would be greatly appreciated, especially as I seem to be generating new ideas (with their inevitable problems) substantially faster than I am solving old ones.
I currently have a Picture control inside a Rich TextBox control into which I am able to copy diagrams at run-time. This works fine and the Picture control automatically resizes to the correct dimensions of the original diagram.
My problem are these -
- I need to be able to reposition the diagram at run time using the mouse in exactly the same way as it can be done at design-time.
- I need those handle-bars to appear when it is selected so that when the corner handle-bar is moved, the diagram is re-sized maintaining its horizontal to vertical proportions, and when the side or top handle bars are moved, the diagram is resized in the vertical or horizontal directions respectively with these proportions not maintained.
- As the diagram will be stored in a database I may need a way of recording the current top, left, width and height properties with it in the database so that when it is recalled , it is correctly positioned and dimensioned (or will this happen automatically?)
- I also need to have the background to the diagram invisible so that typing in the Rich TextBox underneath it can be seen.
I'm sure this can be done (it works at design-time) but the best I have managed so far is for the Picture control to be moved where it seems to feel like!
Any help with this would be greatly appreciated, especially as I seem to be generating new ideas (with their inevitable problems) substantially faster than I am solving old ones.