icons

bbwolff

Registered User.
Local time
Tomorrow, 00:16
Joined
Oct 1, 2013
Messages
116
I got some icons in my access repport, next/previous, save, send mail etc.
I used some icons from web, 128x128 pixels and shrinked them to 0.7x0,7 cm. works fine at home in access 2007.
at work, also access 2007, i've got version incompatibility msg. All icons look huge, even if i reinsert them or insert smaller versions.
Any ideas what to do?
 

Attachments

  • icons.png
    icons.png
    4.7 KB · Views: 139
Do a try:
Set the screen dimensions and resolution as you have at home.
 
It has to work on many different comps with good and bad screens
 
A try is a try, not a solution. But can give you a better understanding of the issue.

If your icons will be OK if you use the same resolution then you will know for sure from where come your problem. And you will know for sure what you are looking for: a way to redim your icons based on screen settings.

If not, at least you can eliminate a possibility.
 
i solved this by simply inserting pcitures and adding on click event

i have this situation now. i write something in the textbox and press image, the focus stays in textbox and the actual value is still null or whatever was written before, not is being written at that moment. if i have the button, i have to actually press it twice, first to move focus and next to press it.

Is this normal behavior? is there a way to work around it?
 
like in this example
type something and press green '+ ie picture and it's null/previous
if you press button it's whatever is in the txtbox

is there a vba command to confirm whatever is written?
 

Attachments

try using

Code:
MsgBox "" & Me.Text0.[COLOR=red]Text[/COLOR]
for your image control.

Clicking the button control transfers focus from Text0 to the button, clicking on the image does not transfer focus so you can use the .text property of your text box. You'll get an error if you try to reference the .text from the button. The textbox value is not updated until the focus is moved elsewhere.

You'll note that the button has got focus/lost focus events which the image has not got.

This will give you issues if there are two text boxes and the user completes the first one, then the second and then clicks the image so you will probably need code as follows:

Code:
Private Sub Image2_Click()

    On Error GoTo errctrl
    
    MsgBox "" & Me.Text0.Text
    Exit Sub

errctrl:
    MsgBox "" & Me.Text0
    
End Sub
 
Tx. Works great, didn't notice any errors either.
 

Users who are viewing this thread

Back
Top Bottom