Michele,Thanks for the URL and credentials, I could easily test your app
Regarding the combobox, you can simply change it to
.Style = 2
otherwise awHTML adds a textbox for typing and you need to style this textbox too.Regarding the buttons,
one has a transparent background defined in the object:
#erp_form_anag-erp_commandbutton1 {
background: url("Images/_save1.png") no-repeat scroll centercenter transparent;
left: 59px;
padding-top: 34px;
top: 11px;
}
one has a white background defined in the class :
#erp_form_anag-erp_commanbutton_close1 {
left: 11px;
top: 11px;
}
._commandbutton_close {
border-radius: 6px 6px 6px 6px;
text-align: left;
}
._commandbutton_close {
background: url("Images/_close2.png") no-repeat scroll centercenter #FFFFFF;
height: 43px;
padding-top: 34px;
width: 43px;
}
you can easily track that with firebug > HTML tab
This is my CSS
._combobox{
border-style:groove;
border-width:3px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
And this is the image i used for the second button (not correct)
![]()
and this is the first (correct)
![]()
Hi Gilles,
Can you post the CSS directives and the images produced in both cases?
thanks
Hi Thierry
i have the same problem.
It become when i use in a form a button from a class derived of aw.vcx. If i change the button picture propertie with the IDE of VFP the image in the CSS is not correctly render. If i do not change the button picture propertie, the image in the CSS is the godd one.
Bests regards
Gilles
The first problem is with the button....The first has background white, the others not, but in vfp i see them all white....(same problem in other forms)
what type of image do you use in VFP ? extension ? transparency ?
you can post the images here ...
The second problem is with the border for combobox....i defined it even in CSS, but nothing changed
what are your CSS instructions?
I have a form with two problems, i don't know if bugs or my errors....
This is the image of the form....
![]()
The first problem is with the button....The first has background white, the others not, but in vfp i see them all white....(same problem in other forms)
The second problem is with the border for combobox....i defined it even in CSS, but nothing changed
Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)