473,410 Members | 1,914 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,410 software developers and data experts.

Setting a field value from a slider control

I need to set the value of 10 fields in a table from a slider control on a form. The slider controls do not let me bind them to a field. I was trying to use a macro with setvalue and I keep getting the "object doesn't contain the Automation object" error. It's clear though that the error is being generated on the table side and not with the slider control because I have tested the setvalue procedure with a simple number as the expression. Any suggestions would be greatly appreciated.
Feb 15 '12 #1

✓ answered by Mihail

Use a text box bind to field.
When you open the form (Open event) set the slider value based on the text box value.
When you modify the slider value (by dragging the cursor) update the value in text box. That will update too the value in the table.

The text box can or can not be visible.

1 4679
Mihail
759 512MB
Use a text box bind to field.
When you open the form (Open event) set the slider value based on the text box value.
When you modify the slider value (by dragging the cursor) update the value in text box. That will update too the value in the table.

The text box can or can not be visible.
Feb 15 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jason Charalambides | last post by:
I need to assign a slider to determine a percentage value for a certain variable in my program. I decided to use a slider so that the user will be able to manually set a value between 0.000... to...
3
by: CaffeineRush | last post by:
Is there an existing control that functions like the slider control used in Fireworks when selected the JPEG Quality? A combo-box style drop-down button is clicked which results in the presentation...
3
by: tony lock | last post by:
I am writing a simulation program, the main classes inherit from a base class which itself inherits from Control. I am using reflection to serialize these objects including the fields from control....
1
by: degroof | last post by:
http://degroof.home.mindspring.com/hb/colors.html Simple slider control made from two div tags. Slider can be vertical, horizontal or XY. Demo page is a color picker with two sets of color...
0
by: Brian Henry | last post by:
Ok I've never implemented a snap location before so I dont really know what im doing wrong here... anyways, I am making a custom slider control that takes dates as its values instead of integers......
1
by: Israel | last post by:
The problem: I want to know, definitively when a slider loses focus after a user has started sliding and hasn't released the mouse yet. It appears that this is captured with the WM_ACTIVATEAPP...
4
by: bill | last post by:
How can I create a slider control or visual scale control which fires a server-side event when a selection is made? I would appreciate any tips. Thanks Bill
0
by: Shaoming Deng | last post by:
Hello All, I have slider control in MS-Access. If I set the value range form -10 to 10, the scroll event is not trigered when using mouse wheel to control it from -1 to 0 or from 1 to 0. Why? ...
2
by: Karl | last post by:
I trying to use the slider control in A2000. I don't see a mouse up event and the Updated event doesn't seem to fire after moving the slider. I did get lost focus to work if I click on another...
0
by: sanrek | last post by:
Hi Folks, Slider control is driving me nuts, below is the code from my test page's page load event, nothing great about code, I have a place holder control into which I am adding a table which...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
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,...
0
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 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.