Sometimes the answers to Qs like this can be very complex for a novice to follow, so to answer your question in the very simplist programing language there is some code below as a demo to give you what you want. On a form put a shape control as a circle, a label and a text box then paste the code. The function in this demo returns the correct angle between to sets of X-Y co-ords passed to
Hola kapital yo utilizo para esos casos el mshflexgrid que viene en visual solo activas desde las venatana componentes Añades un formulario y le insertas el control mshflexgrid y pega el siguiente codigo en tu formulario..para que lo pruebes Const strChecked = "þ" Const strUnChecked = "q" Private Sub Form_Load() With MSFlexGrid1 .Rows = 10 .Cols = 3
Hi all, I'm trying to remove 2 pictureboxes and do the work with memory HDC's This is what is causing my problem, whichever HDC is created first seems to work fine but the second HDC is just a black picture. Sub Setup_HDCs() Dim MyBM As StdPicture Set MyBM = PictureFromDC(picShown.hDC, 0, 0, picShown.ScaleWidth, picShown.ScaleHeight) HDC_Backup = CreateCompatibleDC(picShown
"Webbiz" <noreply@cox.net> wrote You see, the coordinates of our forms and picturesboxes, etc. all start from zero at the top and scaleheight at the bottom, rather than the other way around. Often I want to create a simple 0 to 100 range, such as 0%% at the bottom of the picturebox and 100%% at the top. Is there some reason you cannot just set the scale of the picturebox so
"Ivar" <ivar.ekstromer000@ntlworld.com> wrote in message news:KTdrk.160134$bi3.158321@newsfe11.ams2... How (if possible) can this region be filled with a design of my choice. A good example would be to fill the region with yellow lines at 30 degree angle(ish) about 5 pixel vertical spacing. or something like that. . . . by the way, when in my previous response I said, "Create the