Search results for query: *

  1. Geysser

    Tip Custom Scroll Bar

    That's not easy! From the little I know, you have to subclass the control.It's way easier - and safer! - to built a substitute from scratch - say, your own container.
  2. Geysser

    TextBox validation

    Well, problem is solved now!:o That's what you get when you are a WinForms VB.NET'er and you try to run with WPF before you learn how to walk! No RelativeSource={RelativeSource Self} anymore,just a nice Model binding neatly on the View Elements!
  3. Geysser

    Question WPF UserControl

    Having had my fare-share of user control programming in VB.NET, I thought that jumping to the WPF UserControl arena would be a pretty straightforward process. Alas, things are much more different than expected - and way more difficult! So here is what I stumbled upon: From what I've came about...
  4. Geysser

    TextBox validation

    I have a problem with validating a text field (and, being a WPF novice, please be gentle!) My textbox is as follows: <TextBox x:Name="PiecesSText" TextAlignment="Right" Width="50" Height="18" HorizontalAlignment="Left" VerticalAlignment="Top"...
  5. Geysser

    Global Properties (or whatever!)

    Maybe it's me then! Anyway, I really appreciate your help!
  6. Geysser

    Global Properties (or whatever!)

    VB 2008 on my side! I tried 2010 but for some reason the IDE is very unstable (crashes all the time)! One last thing, if it's not too much trouble! Overriding the OnPaint in my control doesn't do jack, i.e, my control doesn't paint! I tried in both the control and the base control, still...
  7. Geysser

    Global Properties (or whatever!)

    Thanks very much for the advice! I'm gonna try it right away! But there is one small detail: The Public Property ID what is it for?
  8. Geysser

    Global Properties (or whatever!)

    Here is a thing I've been confused about for a long time now. I'm creating a package full of custom controls and one thing that I've being really frustrated about is that I have to write the same properties over and over again, in each one of these controls. You see, each control has more or...
  9. Geysser

    Tip Custom Scroll Bar

    Well, I've decided to make a few more changes. The controls I've created - including the scroll bar - are now in a big pack called "GControlsPack". The ScrollBar is now called "GScrollBar". Just ignore the Analog clock - it's not finished yet! Here it is, along with a test application that -...
  10. Geysser

    Tip Custom Scroll Bar

    By "thickness of the background" do you mean the area behind the bullet? I've changed that and named it "track". I could simply put a property, say TrackThickness and change the code of painting it, but I don't have the time right now. Hey, why don't you try to do it? Let me see what your plugin...
  11. Geysser

    Tip Custom Scroll Bar

    I've searched quickly through the internet and it seems that this is not the best approach.Sorry for putting you on the wrong path!What I would do now, is to put my float layout panel in a simple panel and manipulate the top property of the Flow. I will try to give you some code tomorrow. PS...
  12. Geysser

    Tip Custom Scroll Bar

    I would say try to manipulate FlowLayoutPanel1.VerticalScroll.Value property with my scrollbar , but right now I don't have the time for a detailed solution.For a FlowLayout there is also an event called Layout which might come in handy! Tell me if I've put you to the right direction!
  13. Geysser

    Tip Custom Scroll Bar

    Hmmm...You said you've re-created my files. Could you send me the code you've writen? Maybe there's something there
  14. Geysser

    Tip Custom Scroll Bar

    My bad!I must have missed this rule.Sorry!
  15. Geysser

    Tip Custom Scroll Bar

    Thank you very much for the feedback! Of course you may use the control any way you like!That's why I share it! But first let's look at the two errors I have included a timer control in the scroll bar to handle the scrolling when you keep the mouse down on the arrows. To me it works fine. If...
  16. Geysser

    Tip Custom Scroll Bar

    I'm developing a media player in VB.NET and, being somewhat dissapointed by the standard controls of Toolbox, I've decided to create my own. All of them will be included in a Control Pack, and so far I've created only a scroll bar. Some points of interest, concerning this scrollbar, which I...
  17. Geysser

    Question ScrollBar UserControl

    Hi to all! This is not a question per se but a request for advice. I'm creating a simple scroll bar to use in a media player.It will serve as a control for the position of a playing media and for the volume (and God knows for what else might come up!). I want the user to be able to scroll the...
Back
Top