Search:
Type: Posts; User: Goshx
Search:
Search took 0.05 seconds.
-
Theoretically it is possible to create a control whnich changes its dimensions according to actual dimensions of a form. I am not skillfull enough to do that but with using of GDI+ tools and owner's...
-
It is the same 200x200 but much more smaller. I have a form fitted to 1024x768 which looks terribly poor on 3840×2160 displays. It has to be maximized and some controls are too small for normal work.
-
Larger form requires larger elements. I want to get larger controld if my form which is let's say, 1000x500 bebomes 2500x1500. That menans, rising of font size, too. I've understood that there's no...
-
Spynne, thank you for the answer. It is educational as always. I've seen in internet something like your code here but I've expected some approach related with GDI+ and owner's drawn controls but it...
-
Let's try this way:
tableLayoutPanel1 OFF
TLP1 rows, columns =50%
L1-L4 Autosize = False
L1-L4 Anchor: top, bottom, left, right
-
I've put AutoSize to false and anchored labels to all sides but it still doesn't work.
-
sorry, Paul. I've already did that. After your post I've tried again but it still doesn't work. Label is still with original dimensions.149997
-
No more idea about this? Who can show how to proportionally strech an existing label according to new dimensions of a winndow?
-
I know for TableLayoutPanels and FlowLayoutPanels. Also tried many things with anchor property and Docking property but they still give unproportional buttons and other elements compared to new...
-
Is there a good way to resize controls like buttons, textboxes or labels to grow together with form's size? If you create a button or label for some smaller resolutions it would be too small on a...
-
ouchh... I didn't pay attention on that. Sorry.
We can close this topic
thanks to all
-
.paul as always offer complete workable code. It is amazing how he can always write code on demand :)
This code works like a charm, thank you, .paul. I hope that I don't ask too much but I'd like to...
-
Thank you Shaggy again. I'll try to play with this a little bit.
By the way. Is there a simple way to implement some kind of visual feedback on clicked rectangle?
-
-
that's it :) LINQ, generics, lists... it is from the same story which I didn't like when they were introduced. Yes, they are powerful but a little bit confusing for somebody who learned .NET at its...
-
Thank you for this, Shaggy. I have a few more questions
Would you be so nice to demonstrate that approach?
That means, object names oneRect and twoRect disappears if we put them into list?
-
uuuuggghhh this is much more complicated than I expected. It seems that I will have to learn generics although I didn't want to for many years.
Can someone write code how to add two rectangles...
-
Thank you for advices, guys.
I understand that I need to use mouseclick for that. Something like this
Dim pos As MouseEventArgs = DirectCast(e, MouseEventArgs)
essageBox.Show(pos.X.ToString +...
-
I want to write a small program which will be able to recognize clicks at 10 different regions inside of a picturebox control.
After many unsuccessful tries to find some code in Internet I decided...
-
by my own opinion, you're a generous person always ready to help with your "in depth" explanations.
I'm afraid that is already too late for UWP if we take in account poor success of WP platform....
-
I'm afraid that I'll have to forget code translation into WPF )) if we have to work with pixel shaders (never did that) it isn't a piece of cake.
-
I am laughing to myself how stupid mistake I did. From some strange reason I firmly believed that I'm doing well.
-
Thank you for this answer, passel. I couldn't find anything similar with Google. The answer is: you can't process images on the same way as you did with GDI+. Generally, you can, but you have to do...
-
but we have mechanism to embed WPC into WinForms and vice versa, right? If we already have that possibility they could enable to do that more easy. Although I understand that we have two different...
-
I'm using your code, passel )
yes, you're right about "disabled for drag and drop". Although you explicitly wrote:
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs)...
-
well.. 1'st thing... passel's code doesn't work correctly in my case. I cant' see any sub which will manage MouseDown event on form1. I added
Private Sub PictureBox1_MouseDown(sender As Object, e...
-
Can't see many projects written with WPF although it is already 10 years old :)
Mine too. That's the reason why I put that question.
-
I've seen that it isn't a big problem to move from WinForms. In general, development with WPF reminds me much on programming for Android platform. But... to translate all my code to new platform just...
-
I can't do that right now but I'll check it, of course :)
-
I've just answered in my previous post why there's no code in this topic (for now). I firstly wanted to know is it technically possible or not.
I can't test it now but according to your...
-
When I've got an idea to do that I started to search is it possible. I've expected (as you do) that it is possible to implement. But... I couldn't find any concrete answer related with that topic....
-
When you load some project written for WPF, everything is much slower than when you work with WinForms. Visual studio itself was written in WPF and works slower from that time. I've read that...
-
141 views, 0 answers. I've expected at least a dozen of answers
Obviously WPF isn't popular between programmers.
-
no. Only some of them by user's choice.
yes, two form in the same app. They should be non modal, I presume. Although it could be practical if one of them stays on top of second one.
The...
-
It is rather simple to explain/understand. We have two forms, let's say, formA and formB. formA contains five picturebox controls with images inside. Our goal is to put wnated images in pictureboxes...
-
:) I want to move some images contained into piturebox controls.
-
I've already seen that page but I couldn't find answer on my question. They are takling generally about drag and drop but there's no concrete answer about moving data between two forms.
-
Is there a way to drag an object from formA and drop them to formB? I've tried with Google but couldn't find anything appropriate.
-
with List(Of String)?
Easy to say but not so easy to afford if you didn't do that before ))
-
I can't see anything useful there, to be honest. There's no a way to refer form selected by its Text property
|
Click Here to Expand Forum to Full Width
|