Hi Softjom, Joshua,
Joshua,
I believe the language that Softjom uses is 'Harbour' (search for harbour programming language) which looks like some sort of derivative / development of Clipper (for those of us with long memories!!).
Softjom,
In the attachment (Softjom1) is an example of creating your own components (in this example, buttons). However, it is not usually how people use MyVisualDatabase (except perhaps when you want to create a chart or graph).
Normally, you would use the standard features of MyVisualDatabase to add components and then alter the properties of those components to do whatever you want by using a script.
For example, to hide or display components, use standard MVD to create the components on your form and then simply alter whether they are visible or not using a script (or 'role based' authorisations (or a combination of the two, depending on how you want your application to work)).
In the attachment (Softjom2), you can see how some buttons are hidden when the program starts. To reveal them, move the mouse to the bottom of the form. Similarly, depending on the role based authorisations of the user, specific buttons can be hidden or display different messages.
Try logging on with different user names to see how the program's behaviour changes (the passwords are the same as the user names).
Derek.
Post's attachments softjom.zip 676.76 kb, 173 downloads since 2022-02-11