In VB6, a custom dialog can be easily created by adding a new form, adding
whatever controls you like, sizing it as you like, adding code and then just
loading/unloading it whenever you like.
Using Access 07, a form is a little different beast and it would appear a
custom dialog cannot be created in the same way.
How does one go about creating a custom dialog?
Note that I am not well experienced in programming but I have a couple of
books (including 'Access 2007 Inside Out') that I can refer too as well as
the online help that comes with Access. I don't necessarily need a detailed
answer but at least some general idea of where to look to accomplish the
same effect as is in VB6.
Thanks,
Gord 9 5467
Gord wrote:
In VB6, a custom dialog can be easily created by adding a new form,
adding whatever controls you like, sizing it as you like, adding code
and then just loading/unloading it whenever you like.
Using Access 07, a form is a little different beast and it would
appear a custom dialog cannot be created in the same way.
How does one go about creating a custom dialog?
Note that I am not well experienced in programming but I have a
couple of books (including 'Access 2007 Inside Out') that I can refer
too as well as the online help that comes with Access. I don't
necessarily need a detailed answer but at least some general idea of
where to look to accomplish the same effect as is in VB6.
If you open the form with the acDialog option is should work exactly as you
describe. At least I assume that this would ignore that stupid tabbed form
interface in 2007.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Rick,
I'm afraid that stupid tabbed form interface still persists. Using acDialog
seems to open the form in 'Datasheet' view.
As a small aside, I must also be missing something basic here because no
matter what property settings I play around with in design view on the form,
the form always opens up full size. In design view, I drag the corner to
make the form quite small, but is still goes full. In the form properties,
I've played around with 'Auto Resize', 'Fit to screen', 'Auto Center',
'Allow DataSheet View', 'Border Style' (set that one to Dialog), 'Control
Box' etc. etc. Nothing seems to have any effect. The form always goes to
full size.
The help in Acces and the book on Access don't seem to have much to offer on
making a custom dialog. Unless there is some completely different way of
doing it and I'm not searching with the right keywords.
If I can get the form to size the way I want, get rid of the tab, and have
the form 'free floating', then I'd have what I want.
Any other possibilities/suggestions would be much appreciated.
Gord
"Rick Brandt" <ri*********@hotmail.comwrote in message
news:DH*****************@nlpi066.nbdc.sbc.com...
Gord wrote:
>In VB6, a custom dialog can be easily created by adding a new form, adding whatever controls you like, sizing it as you like, adding code and then just loading/unloading it whenever you like. Using Access 07, a form is a little different beast and it would appear a custom dialog cannot be created in the same way.
How does one go about creating a custom dialog?
Note that I am not well experienced in programming but I have a couple of books (including 'Access 2007 Inside Out') that I can refer too as well as the online help that comes with Access. I don't necessarily need a detailed answer but at least some general idea of where to look to accomplish the same effect as is in VB6.
If you open the form with the acDialog option is should work exactly as
you describe. At least I assume that this would ignore that stupid tabbed
form interface in 2007.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Gord wrote:
Rick,
I'm afraid that stupid tabbed form interface still persists. Using
acDialog seems to open the form in 'Datasheet' view.
As a small aside, I must also be missing something basic here because
no matter what property settings I play around with in design view on
the form, the form always opens up full size. In design view, I drag
the corner to make the form quite small, but is still goes full. In
the form properties, I've played around with 'Auto Resize', 'Fit to
screen', 'Auto Center', 'Allow DataSheet View', 'Border Style' (set
that one to Dialog), 'Control Box' etc. etc. Nothing seems to have
any effect. The form always goes to full size.
The help in Acces and the book on Access don't seem to have much to
offer on making a custom dialog. Unless there is some completely
different way of doing it and I'm not searching with the right
keywords.
If I can get the form to size the way I want, get rid of the tab, and
have the form 'free floating', then I'd have what I want.
Any other possibilities/suggestions would be much appreciated.
I have messed *very little* with 2007, but somewhere in there is an option
to switch between the default "tabbed forms" interface and the traditional
forms.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
"Gord" <x1******@telus.netwrote in message
news:NBOFk.170$Oj.60@edtnps83...
In VB6, a custom dialog can be easily created by adding a new form, adding
whatever controls you like, sizing it as you like, adding code and then
just loading/unloading it whenever you like.
Using Access 07, a form is a little different beast and it would appear a
custom dialog cannot be created in the same way.
Sure, it much can be.
>
How does one go about creating a custom dialog?
You simply open the form in dialog mode. This ALSO WORKS if you using the
tabbed mode.
So, ignore the suggestions that you need to change or turn off the tabbed
mode. However, if you want separate forms, then simply turn off the tabbed
feature and you get old style windows. However this have NOTHING AT ALL to
do with making dialog forms. dialog forms work regardless of your tabbed
setting.
I explain how to open dialog forms, and I also explain how your code can
"halt/wait" for the dialog form, and I also then pull values out of the form
(and you can do this without having to use global vars to pull/pass values
from the form).
I explain this here: http://www.members.shaw.ca/AlbertKal...log/Index.html
By the way, if you want to turn off tabbed forms, you can go:
office button->access options->current database->
you will see an option for overlapping windows, or tabbed. However,
if you use dialog forms, they ignore this setting anyway.....
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada pl*****************@msn.com
"Rick Brandt" <ri*********@hotmail.comwrote in message
news:DH*****************@nlpi066.nbdc.sbc.com...
If you open the form with the acDialog option is should work exactly as
you describe. At least I assume that this would ignore that stupid tabbed
form interface in 2007.
Hum, very good thought...and you are 100% correct in your assuming......
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada pl*****************@msn.com
Albert D. Kallal wrote:
"Rick Brandt" <ri*********@hotmail.comwrote in message
news:DH*****************@nlpi066.nbdc.sbc.com...
>If you open the form with the acDialog option is should work exactly as you describe. At least I assume that this would ignore that stupid tabbed form interface in 2007.
Hum, very good thought...and you are 100% correct in your
assuming......
A dialog form that followed the tabbed interface style certainly didn't
sound right to me. Does one have to use acDialog to get a floating form or
does Popup also produce that effect? Again, it seems obvious that it
should, but nothing surprises me any more.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
On Sat, 04 Oct 2008 20:08:48 GMT, "Gord" <x1******@telus.netwrote:
>Rick,
I'm afraid that stupid tabbed form interface still persists. Using acDialog seems to open the form in 'Datasheet' view.
As a small aside, I must also be missing something basic here because no matter what property settings I play around with in design view on the form, the form always opens up full size. In design view, I drag the corner to make the form quite small, but is still goes full. In the form properties, I've played around with 'Auto Resize', 'Fit to screen', 'Auto Center', 'Allow DataSheet View', 'Border Style' (set that one to Dialog), 'Control Box' etc. etc. Nothing seems to have any effect. The form always goes to full size.
Check to see if you have a macro that has Maximize in it.
Sometimes I put it as the last command in an autoexec macro.
Chuck
--
"Rick Brandt" <ri*********@hotmail.comwrote in message
news:mn****************@nlpi061.nbdc.sbc.com...
>>If you open the form with the acDialog option is should work exactly as you describe. At least I assume that this would ignore that stupid tabbed form interface in 2007.
Hum, very good thought...and you are 100% correct in your assuming......
A dialog form that followed the tabbed interface style certainly didn't
sound right to me. Does one have to use acDialog to get a floating form
or does Popup also produce that effect? Again, it seems obvious that it
should, but nothing surprises me any more.
Once again, your "guess" is a good one, and you are 100% correct. So, both
dialog forms, and also forms with the popup = yes do float.
A model form does NOT float, but DOES auto-hide the navigation bar (since it
can't receive the focus).
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada pl*****************@msn.com
On Oct 4, 3:08*pm, "Gord" <x1gor...@telus.netwrote:
Rick,
I'm afraid that stupid tabbed form interface still persists. *Using acDialog
seems to open the form in 'Datasheet' view.
As a small aside, I must also be missing something basic here because no
matter what property settings I play around with in design view on the form,
the form always opens up full size. *In design view, I drag the corner to
make the form quite small, but is still goes full. *In the form properties,
I've played around with 'Auto Resize', 'Fit to screen', 'Auto Center',
'Allow DataSheet View', 'Border Style' (set that one to Dialog), 'Control
Box' etc. etc. *Nothing seems to have any effect. *The form always goes to
full size.
The help in Acces and the book on Access don't seem to have much to offeron
making a custom dialog. *Unless there is some completely different way of
doing it and I'm not searching with the right keywords.
If I can get the form to size the way I want, get rid of the tab, and have
the form 'free floating', then I'd have what I want.
Any other possibilities/suggestions would be much appreciated.
Gord
"Rick Brandt" <rickbran...@hotmail.comwrote in message
news:DH*****************@nlpi066.nbdc.sbc.com...
Gord wrote:
In VB6, a custom dialog can be easily created by adding a new form,
adding whatever controls you like, sizing it as you like, adding code
and then just loading/unloading it whenever you like.
Using Access 07, a form is a little different beast and it would
appear a custom dialog cannot be created in the same way.
How does one go about creating a custom dialog?
Note that I am not well experienced in programming but I have a
couple of books (including 'Access 2007 Inside Out') that I can refer
too as well as the online help that comes with Access. *I don't
necessarily need a detailed answer but at least some general idea of
where to look to accomplish the same effect as is in VB6.
If you open the form with the acDialog option is should work exactly as
you describe. *At least I assume that this would ignore that stupid tabbed
form interface in 2007.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt * at * Hunter * dot * com
Make sure the Dialogue form is closed first (in tab mode close the
tab).
Then it will open as a Dialogue with the following code
DoCmd.OpenForm "FormName", , , , , acDialog This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: indrekm |
last post by:
How can I create Application Installer, that copy exe some dll's,
register
dll's, ask licence agreement, ask show readme.txt etc. I made new
Setup
project, but how configure it (add licence...
|
by: Rikkert |
last post by:
I can't get my custom-made modeless dialog box (Visual C++.net Win32)
to respond to clicking the close button or pressing Alt-F4.
I am using the IsDialogMessage to check if messages are for my...
|
by: Chris Powell |
last post by:
I am using Excel/Access 2000 and have two large Excel files (25,000 rows
each) that I wish to create linked tables in Access rather than
importing into Access. The two source Excel files change...
|
by: WindAndWaves |
last post by:
Hi Gurus
I am trying to make a custom message box with a dialog form.
Here is how I would like to do it:
1- anywhere in the database, in any procedure, I call the function that
opens a dialog...
|
by: Dennis C. Drumm |
last post by:
This is a restatement of an earlier post that evidently wasn't clear. I am
building a custom MessageBox dialog that has, among other things, a few new
button options (yes to all, no to all, etc.)...
| |
by: macca |
last post by:
Hi,
I am writing a GUI application. It will have a number of user defined
controls( I plan to use/create a user defined control that will output alarm
states that the user can also select and...
|
by: Pat Moline |
last post by:
Today, we have an informational dialog where the information is displayed in
a RichText control. The only action for the user is to press the OK button
to dismiss the dialog.
My desire is...
|
by: Michael Russell |
last post by:
Hi all,
Sorry for the repost, but I never received any response when I first
asked this a few weeks ago. I would really appreciate some feedback on
this, it's driving me nuts...
I'm...
|
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= |
last post by:
Hello,
I have an existing (WPF) Class Library project that I'd like to add a WPF
Custom Control to. However, when I try to Add New Item, that isn't one of
the available options. Perhaps this...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |