473,395 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

'Altering' Access 2K Textbox Control

Hi !

I'm trying to 'alter' the access TextBox control to
achieve the following;

When the cursor is over the TextBox control I want
to display a button to the right of the TextBox control
that can be clicked.

The tricky bit is that I want to generate the button at
RUN-TIME so that I don't have to place a 'ghost' button
for the class to use on every form that needs this
functionality.

I have looked through samples on Steve Lebans site
(www.lebans.com) and his tooltip class seems to come
close to a solution...

Any help from anyone out there would be appreciated !!!
Nov 12 '05 #1
2 1998
"Michael" <mc******@netcomuk.co.uk> wrote in message
news:ae**************************@posting.google.c om...
Hi !

I'm trying to 'alter' the access TextBox control to
achieve the following;

When the cursor is over the TextBox control I want
to display a button to the right of the TextBox control
that can be clicked.

The tricky bit is that I want to generate the button at
RUN-TIME so that I don't have to place a 'ghost' button
for the class to use on every form that needs this
functionality.

I have looked through samples on Steve Lebans site
(www.lebans.com) and his tooltip class seems to come
close to a solution...


Just wondering if you've looked at using a Shortcut menu with a single item
on it. This is a feature easily applied to any control without any
programming at all. If you wanted it shown on MouseMove instead of
Right-Click it would require coding, but it would satisfy your requirement
to not have to place a hidden object at every location where you want the
feature.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #2
On 6 Nov 2003 04:50:15 -0800, mc******@netcomuk.co.uk (Michael) wrote:

In Access/VBA, I think the only way to create a control is to use
CreateControl. And that can only be called in design view.

If you don't like that, you'll have to call the Windows API, like
Lebans did. That requires a lot of knowledge about this API, and about
Access. Hooking those controls into the normal event processor, seems
impossible. The hidden button solution is looking better and better...

-Tom.
Hi !

I'm trying to 'alter' the access TextBox control to
achieve the following;

When the cursor is over the TextBox control I want
to display a button to the right of the TextBox control
that can be clicked.

The tricky bit is that I want to generate the button at
RUN-TIME so that I don't have to place a 'ghost' button
for the class to use on every form that needs this
functionality.

I have looked through samples on Steve Lebans site
(www.lebans.com) and his tooltip class seems to come
close to a solution...

Any help from anyone out there would be appreciated !!!


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
3
by: Scott | last post by:
I am trying to alter the ForeColor of a TextBox object so that parts of the displayed text are written in various colors. For example, when writing to the TextBox I wish to display parts of the...
1
by: Sanjay Pais | last post by:
I built a custom control for all the basic web.ui.controls like textbox, label, checkbox etc etc. I added my custom attribute called ApplySecurity to the html in the page. However, when I cycle...
5
by: c676228 | last post by:
Hi, I guess I am confused. In aspx script, I mean (you won't use Codebehind="enrollinfo.aspx.vb", but mix code with html and code together) You can access user control's property directly. Since I...
9
by: jason.hau | last post by:
Is there any way to alter this? I am aware that it's read only. Essentially the problem is that I have a webcontrol that dynamically creates a textbox and a requiredfieldvalidator control with the...
9
by: JimmyKoolPantz | last post by:
IDE: Visual Studio 2005 Language: VB.NET Fox Pro Driver Version: 9.0.0.3504 Problem: I currently have a problem altering a DBF file. I do not get any syntax errors when running the program. ...
1
by: zufie | last post by:
Hi, I want to specifying a foreign key by altering a table. First, I create an ORDERS table without specifying a foreign key. Here is my code: CREATE TABLE ORDERS (Order_ID integer,...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
7
by: robert.waters | last post by:
I have an Access database frontend linked via ODBC to a large (gigabytes) mysql database. I need to view a large amount of data in a a textbox (variable up to 300K), but I receive a 'there isnt...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
tracyyun
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.