Page 3 of 6

Re: PureBasic 4.50 is out !

Posted: Tue Jun 08, 2010 7:49 pm
by ferty
To Andre.

Hi Andre,fred has confirmed its all ok,looks like I upgraded to the correct account way back when.

But thanks.

Re: PureBasic 4.50 is out !

Posted: Tue Jun 08, 2010 8:07 pm
by Marco2007
Thank you! :D

Re: PureBasic 4.50 is out !

Posted: Tue Jun 08, 2010 10:22 pm
by HwyStar
The new release is working well Dudes! Thanks for the hard work! :mrgreen:

Re: PureBasic 4.50 is out !

Posted: Tue Jun 08, 2010 10:26 pm
by endo
Thanks a lot! Great!

Re: PureBasic 4.50 is out !

Posted: Tue Jun 08, 2010 11:09 pm
by Krisko
Hi all I'm new in Pure Basic but I'm very keen on it. For now I use only demo version. But I want to ask you something why I haven't the code viewer in the KDE is it because I'm using demo version or in the new version 4.50 it is removed ? If I have the full version will I have the code viewer ? Thank you :)

Re: PureBasic 4.50 is out !

Posted: Wed Jun 09, 2010 2:24 am
by aaron
nase09 wrote:Still no 'Backspace-Unindent :(
No 100% sure what you are referring to, but does shift-TAB do what you are looking for?

Re: PureBasic 4.50 is out !

Posted: Wed Jun 09, 2010 7:08 am
by blueznl
Krisko wrote:Hi all I'm new in Pure Basic but I'm very keen on it. For now I use only demo version. But I want to ask you something why I haven't the code viewer in the KDE is it because I'm using demo version or in the new version 4.50 it is removed ? If I have the full version will I have the code viewer ? Thank you :)
Not a clue what you mean... what codeviewer?

Re: PureBasic 4.50 is out !

Posted: Wed Jun 09, 2010 10:22 am
by Krisko
blueznl wrote:
Krisko wrote:Hi all I'm new in Pure Basic but I'm very keen on it. For now I use only demo version. But I want to ask you something why I haven't the code viewer in the KDE is it because I'm using demo version or in the new version 4.50 it is removed ? If I have the full version will I have the code viewer ? Thank you :)
Not a clue what you mean... what codeviewer?
I mean this at the right bottom. When you use the Visual Designer and select some button or whatever you want down on the screen you see the code viewer and write your code for this button for example.

Image

Re: PureBasic 4.50 is out !

Posted: Wed Jun 09, 2010 12:15 pm
by blueznl
Ah, now I understand. Well, unfortunately the whole Visual Designer is pretty much up for a total rehaul, and I'm not sure the PB devs have included an up-to-date version for Linux, and I do know the Windows version isn't quite there either. I think that's one of their future plans, but for now it's a bit of a gap I fear.

Re: PureBasic 4.50 is out !

Posted: Wed Jun 09, 2010 1:30 pm
by Trond
Menu mnemonics still don't work, that's annoying.

Re: PureBasic 4.50 is out !

Posted: Wed Jun 09, 2010 9:49 pm
by nase09
aaron wrote: No 100% sure what you are referring to, but does shift-TAB do what you are looking for?
no I don't mean 'Tab-Unindent'..

From Lazarus Wiki :"Auto Indent... This includes "auto un-indent": If the caret is located after the last whitespace of a continuous block of whitespaces at the beginning of a line, then pressing backspace will un-indent. This is done by looking for a start of line (indent) in the line(s) above the current line. For an line containing Whitespaces only (see trim-trailing-space modes) this happens if the caret is at the end of the line."
(not a big thing.. but it makes sense)

Re: PureBasic 4.50 is out !

Posted: Thu Jun 10, 2010 8:18 am
by GeBonet
The 4.5 New arrived in time ... :D
Long live the 4.6 in December ... :?
What a team ! :D :D

Re: PureBasic 4.50 is out !

Posted: Thu Jun 10, 2010 7:24 pm
by USCode
Trond wrote:Menu mnemonics still don't work, that's annoying.
They seem to work fine with 4.50 on Windows Vista:

Code: Select all

If OpenWindow(0, 100, 150, 195, 260, "PureBasic - Menu")
  
  If CreateMenu(0, WindowID(0))
    MenuTitle("&File")
      MenuItem( 1, "&Load...")
      MenuItem( 2, "Save")
      MenuItem( 3, "Save As...")
      MenuBar()
      OpenSubMenu("Recents")
        MenuItem( 5, "Pure.png")
        MenuItem( 6, "Basic.jpg")
        OpenSubMenu("Even more !")
          MenuItem( 12, "Yeah")
        CloseSubMenu()
        MenuItem( 13, "Rocks.tga")
      CloseSubMenu()
      MenuBar()
      MenuItem( 7, "&Quit")

    MenuTitle("E&dition")
      MenuItem( 8, "Cut")
      MenuItem( 9, "C&opy")
      MenuItem(10, "Paste")
      
    MenuTitle("&?")
      MenuItem(11, "About")

  EndIf
  
  DisableMenuItem(0, 3, 1)
  DisableMenuItem(0, 13, 1)
    
  Repeat

    Select WaitWindowEvent()

      Case #PB_Event_Menu

        Select EventMenu()  

          Case 11 ; About
            MessageRequester("About", "Cool Menu example", 0)
            
          Default
            MessageRequester("Info", "MenuItem: "+Str(EventMenu()), 0)

        EndSelect

      Case #PB_Event_CloseWindow
        Quit = 1

    EndSelect

  Until Quit = 1

EndIf

End
Unless I'm misunderstanding what you mean?

Re: PureBasic 4.50 is out !

Posted: Thu Jun 10, 2010 7:48 pm
by Trond
USCode wrote:
Trond wrote:Menu mnemonics still don't work, that's annoying.
They seem to work fine with 4.50 on Windows Vista:
Oh I mean the image menus. Try it with CreateImageMenu().

Re: PureBasic 4.50 is out !

Posted: Thu Jun 10, 2010 9:00 pm
by PureLeo
Trond wrote:
USCode wrote:
Trond wrote:Menu mnemonics still don't work, that's annoying.
They seem to work fine with 4.50 on Windows Vista:
Oh I mean the image menus. Try it with CreateImageMenu().
Works fine here...

try the example in the Help file:

Code: Select all

 If LoadImage(0, OpenFileRequester("Choose an icon file", "", "", 0))
    If OpenWindow(0, 200, 200, 200, 100, "Image menu Example")
      If CreateImageMenu(0, WindowID(0))    ; menu creation starts....
        MenuTitle("Project")
          MenuItem(1, "Open"   +Chr(9)+"Ctrl+O", ImageID(0))
          MenuItem(2, "Save"   +Chr(9)+"Ctrl+S")
          MenuItem(3, "Save as"+Chr(9)+"Ctrl+A")
          MenuItem(4, "Close"  +Chr(9)+"Ctrl+C")
      EndIf
      
      Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
    EndIf
  EndIf
I've chosen an *.ico and it worked as intended.