Change color of shapes in vb -
I have a shape on my worksheet which has a fill color of green. When I click the shape, I would like the fill color to switch to the color red. I would like to be able to toggle between to two fill colors each time the shape is "clicked". I experimented with the "if then" statements but since I'm new to coding, I keep coming up with blanks. Help please.
shapes with vb5 -
hi there......i need some help with shapes.
i have a form with a couple of shapes on it.i have also made duplicate shapes as well.what i want to do is to click on a shape and drag it to the matching shape.
also how could i compare if the two shapes are matching/identical sothat i c
Forms Shapes -
Hi everybody;
How can I change the forms shape to regullar shapes like circles or ellipse or into irregular shapes like rounded corners and undefined edges.
customize the background and Shapes -
Can i customize the frmmain background color and shapes with like a command button or something? and when i mean customize the shapes i mean by color..im trying to do this so the user has complete controll on the GUI so he/or she can choose there own colors they like. Please and thank
manipulating the shapes in vb.net -
using drawing class and by tracing mouse movements i hav provided the user the ability to create shapes...........but............now i want to provide them with the ability to edit the shapes,i.e., user is able to select any shape drawn by him and then scale it, rotate it, fill color
"NEW" Keyword Problems -
Hello.
I need my form to ahve A LOT of shapes. I'm talking 3000 shapes. So, I go
Dim Shapes(3000) as Shape
Private Sub Form_Load()
FOR A=1 to 3000
Shapes(A).Shape=VbShapeSquare
Shape(A).width=132
Shapes(A).Height=132
.....
Next A
End Sub
ETC. I set the colors and the bor
Help _ Creating Shapes in PicBox -
Ok, it's simple, I dont want to use the shape control, or atleast that is LAST LAST LAST resort. But I need away to create shapes inside my picture box, like the PicBox.Line command but I need shapes like Circle, Triangle, stuff maybe someone has some code already thrown together to m
Working with shapes -
Morning all
I am having a problem using api with shapes. I have a number of positions on my page, that will change from time to time, and i need my picturebox to shape to those specific points.? anyone know how to do that??
DataEnvironment and SQL -
I have a DataEnvironment set up with one command and on child command if I run a report with no sql it works fine it takes data from both ,I would like to set up an sql but I am having a problem getting the results I want for example: I have 2 tables in my database "color" an
How to apply textures to irregular shapes using GDI+ -
I have an algorithm which generates random 2D terrain shapes which are similar to those seen in the "Worms" game landscapes.
With such random shapes, how do I apply a texture to such random "curvy" shapes?
The GDI+ texture examples I've seen apply to regular s
[VBA] random numbers moving a shape. -
i made a hide and seek game but i want the tiny little object which detects if the player has found it to move around randomly i also have my macro to run again if it hits the obstacles but what seems to be hapening is that evrytime you find the object it goes in exactly the same direc
Adding Shapes during runtime -
I need to add multiple shapes to my form during runtime . I would like to add these shapes as a dynamic control array. Any ideas from anyone?? Thanks in advance for any help.
Animation and changing shapes colours -
I'm attempting to do a simple animation with vb but I can't seem to get it to appear correctly. Basically what I want to do is have shapes in a flow chart change colour with a small delay to animate the path of the flow.
The problem is, is that all the shapes change colour simultan
help with printing shapes created dinamically -
hi, im running Visual Basic 6.0 and i want to know how to print shapes created dinamically. i mean, i have a loop where i have to print square shapes but in each loop the position differs and also there can be different numbers of shapes, so i need to create more shapes whenever i need
rotate shapes... look at enclosed [resolved] -
Ok... in the enclosed project, i have three shapes. How can i make it so that the shapes would like turn around in a circle, shape1 would slowly move into shape2's position, shape2 to shape3 and so forth. A sort of tween, does anyone know how i would be able to accomplish this?
Thx
DirectX shapes -
i am having trouble making multiple shapes show up on my screen...right now i can get a cylander and have a texture on it but i need a circle as well and i cant figure out how to put multiple shapes on it. if anyone has any advice that would be great
shapes or images -
is it possible to use the shapes created with the shapes tool for buttons?
or would i need to use images/pictures?
Help with printer! -
i have a problem printing shapes and i want to know if can be drawn lines or shapes in the printer. can you load shapes from other forms into the printer? thanks in advance
Resizing Multiple Identical Images in Word -
Hi,
I am new to VB but have been applescripting for some time. What I would like to do is to select ALL exsisting identical pictures in word document and resize them all. I have pasted what I have done so far, but I am sure that I am way off base. Any help would be greatly apprec
slight flickering in my shapes and images -
Ok, I have a bunch of images on my form. Each image has a shape box around the edge. When they click on the image, I have the border turning green and all the other borders turning back to white.
The problem is that i get slight flickering in the image when they click on an image.
shapes rotateing -
shapes rotateing : in Soalr system
hi all
My problem is i cant able to rotate the circle shapes in an oval path, this project is related to solar system, each circle shapes has to rotate in their own speed in oval shape path,
lot of replies will be more helpful
thanks in advance
randomly select shapes -
how can i make the form randomly select shapes, under certain cirsumstances. example: randomly generate three shapes that are next to each other ?
Excel/VBA - change font color of object -
I have a button on a worksheet which runs some VBA code. Most of it works fine but when it comes to a section that is supposed to change the line, fill and font color of an AutoShape ( a rectangle) containing some text, I have a problem. I can change the line color and fill color okay
Random shape height -
I want to generate four random integers with a total sum of 100 like (12, 43, 18, 27) and then want to adjust the hight of four rectangle shapes in the same ratio i.e. 12:43:18:27.The above set of numbers is to be generated randomly to change the hight of rectangle shapes. What I actua
anti-aliasing shapes -
My question is how to create anti-aliased shapes using a byte-array as a buffer.
I have the byte array structure.
The shapes would include a rounded-rectangle, and a triangle.
What about shadowing them?
Using VB to add buttons/shapes -
I'm trying to use VB code to add shapes to visio 2003 automatically. My plan is to read in a list of label names and coordinates from a file, and I'd like to have the shapes automatically generated at the locations specified. I imagine this would be along the same lines as generating
Scrolling lines and shapes -
This is just a follow up to this
thread
lines and shapes are inside a picture box and then the picture box is inside a frame. how do i scroll the line and shapes?
This is probably really easy and simple but i still cant do it. (says a lot about me) -
Hi
I have a form that users draw shapes on with the line method (much like MS Paint) but i am wondering how to fill shapes in.
I remember a command in QuickBasic called PAINT(x,y) that allowed you to fill shapes in. Is there an equivalent of this in VB or another method of doing it
Draw shapes in my form... -
I would like to be able to draw shapes within' a picture box like a circle, lines and squares.
Is there some control or script that will allow me to do this?
Here is what I am thinking of:
Select a shape, select a color, apply it.
Traverse shapes on drawing canvas -
Hi I have a drawing canvas in word which is a collection of shapes. For instance if I click on one of the shapes in the drawing canvas I can format it. How do you traverse all the shapes in the drawing canvas object?
Random with shapes -
I have 3 shapes and all are NOT visible. Once i click Command1 i want 1 out of the 3 shapes be visible. I know how to use the random function with numbers but not anything other then that >.<
shapes rotateing : in Soalr system from vb -
shapes rotateing : in Soalr system
hi all
i have attached a form. my problem is i cant able to rotate the circle shapes in an oval path, this project is related to solar system, each circle shapes has to rotate in their own speed in oval shape path,
lot of replies will be more he
Change color of shapes in vb -
I have a shape on my worksheet which has a fill color of green. When I click the shape, I would like the fill color to switch to the color red. I would like to be able to toggle between to two fill colors each time the shape is "clicked". I experimented with the "if then
Seperating shapes from layer in visio using VBA -
Hi, I have a image in Visio which is made up of many shapes in a single layer.
I wis to extract a shape from the picture which I can do manually by converting the image and selecting only the shapes that are to exist in the new layer.
Does any one know how to do this in VBA?
T
Generating shapes -
Hi folks, I am new to VB6. As part of my assignment I am supposed to generate an MS Word document at the click of a command button. I have been able to code for the same.
But what I am unable to do is generate regular shapes like rectangles, lines, arrow, etc., in that word documen
using picture box -
or image box
how to draw shapes circle , .. etc.,
custom shapes
basic collision detection between two shapes -
is there anyway to detect collision between two shapes in a very simple way that a beginer can understand .
my program is this :
I have one shape ( the target ) at one end of the form and one shape ( the so called missle ) at the other end . i also have a button on the form that afte
touching shapes -
hi
is there any code to tell me if two shapes touch eachother in the format of:
if shape 1 touches shape2 then
...
end if
Implicit object creation at runtime -
I want to be able to create an array of circles with randomly generated size and positions. I want these circles to be created as objects, not just drawn with circle commnands, so they can be clicked on to activate a subroutine. This is what I have so far (it keeps telling me I need to
Visio graphics -
I am currently desining an application that uses graphics for mind maps, I am able to do this with Javascript, HTML and Flash, but what I am not sure is how to do this with VB.
The type of graphic design I am trying to do is very simular to visio, you have a shape that are allows
Shape vs. Lable ( ram & filesize ) -
I was wondering if shapes consumed considerably less space & ram compared to lables. My application is now well over 20MB compiled and I am hoping to cut size.
Basically I would be using the shapes for backround colors and borders, realising there isnt much interaction functiona