createForm ?

U

ulrich1947

using a createform procedure in order to create various forms with several
controls whose properties are stored in a table i have 2 problems:
1. I set OnKeyPress to a macro, which calls a function which again calls a
sub procedure. - How can i pass on the KeyPress Value, i usually have in an
OnKeyPress event_procedure to somewhere, lets say to a global variable ? ( I
do not want to create in new forms module-lines, as this does not work if i
convert to an MDE version)

2. I can arrange for all controls it's properties quite well except the
arguments for Type of Control (e .g. acLabel, acTextBox, etc.) and the
location of the control within the form (e. g. acHeader, acFooter, acDetail,
or else). These info's written in my table are not treated as arguments but
as strings which obviously means nothing so I run into errors. Up to now I
solve this problem in a much to complex way. There must be an easier way to
do it (i hope)

I hope, my problems are understood as I am German and not familiar
explaining such problems which are not easy to explain even in my own
language.

Can anyone help ?

Thanks in anticipation

ulrich1947
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top