Don't wanna be here? Send us removal request.
Text
cGrid.drawGrid() - Version 1
To begin my Visual Basics Final Project I started working on a custom control for the entire drawing grid. The most important part of the drawing grid was the grid itself. I decided that the user should be able to decide how many grid dots should be place on the grid itself. The grid should also be resizable.
The following code snippet is my rough draft of .drawGrid function:
The .drawGrid function accepts the desired width _w, height _h, number of horizontal grid dots _hNodes, and number of vertical grid dots _vNodes. The function utilizes a single group of nested loops to populate the grid with these nodes. The results of my .drawGrid function is shown below:
This is just Version 1 of my .drawGrid function but already I see a hanful of problems and know that it needs some more functionality. Just for quick reference here is the short list:
Grid dots need to reach the left and right side as well as the top and bottom function.
I want grid dots to represent data objects, I just haven't developed them yet!
I don't like using _h for height and _hNodes for horizontal, this is a bad naming convention and I'll have to revise it next time I edit this function.
0 notes
Text
Visual Basic Final Project
I have a final project due for my Visual Basic class at the end of the semester. I've thought about creating a circuit designer for a while and now it turns out I have the perfect oppurtunity to work on it. Keep checking for updates on the development.
0 notes