Page 2 of 103
					
				
				Posted: Mon Sep 04, 2006 4:55 pm
				by ts-soft
				In the moment it works. But before, the change of the windows was ignored in the Window properties. Also in the saved file.
Only temporally?
			 
			
					
				
				Posted: Mon Sep 04, 2006 7:19 pm
				by Comtois
				when a gadget is selected , it would be nice if it was possible to move it with cursor pixel by pixel.
			 
			
					
				
				Posted: Mon Sep 04, 2006 7:48 pm
				by nicolaus
				@gnozal
First i must say thank you for this very nice VD. It is the best wat i have see for PB.
Not a little bit tips:
Can you add the gadget move via arrow key´s?
Can you add a option to show the virtual grid ?
regards,
Nico
			 
			
					
				
				Posted: Mon Sep 04, 2006 8:22 pm
				by Num3
				If you could make the GadgetList sortable (d'n'd or PGup / PgDn) it would be great.
It would make FOCUSING / TAB ORDER quite quick to edit!
Excelent coding BTW!
			 
			
					
				
				Posted: Mon Sep 04, 2006 10:49 pm
				by mike74
				This is looking good!  A couple more feature requests:
1) It would be nice if double-clicking on a gadget/window opened its properties window.
2) Copying and pasting of windows/gadgets.
Thanks and keep up the good work!
Mike
			 
			
					
				
				Posted: Tue Sep 05, 2006 7:47 am
				by gnozal
				Update
- added (basic) gadget copy/paste (in context menu or main menu or Ctrl+C/Ctrl+V : parent window/gadget for pasted gadget depends on window/container gadget selected)
- fixed window coordinates sometimes not saved after window resize with mouse
- fixed right-click menu on gadget list not working
- some other little fixes
I will see what I can do for your suggestions.
Thanks.
			 
			
					
				
				Posted: Tue Sep 05, 2006 7:54 am
				by gnozal
				Comtois wrote:when a gadget is selected , it would be nice if it was possible to move it with cursor pixel by pixel.
At the moment you can use the spingadgets in the gadget properties window : you can move / size the gadget pixel by pixel (much more precise than mouse moves). Same for windows in the windows properties window.
 
			 
			
					
				
				Posted: Tue Sep 05, 2006 2:42 pm
				by ts-soft
				thx, work fine!
can you add XP-Style for Preview Mod (optional) ?
			 
			
					
				
				Posted: Tue Sep 05, 2006 3:37 pm
				by gnozal
				Update
Last version introduced a big bug 
 
It is fixed now.
Please download again. 
			 
			
					
				
				Posted: Tue Sep 05, 2006 4:01 pm
				by gnozal
				ts-soft wrote:thx, work fine!
can you add XP-Style for Preview Mod (optional) ?
I don't know how ; I don't have XP ...
 
			 
			
					
				
				Posted: Tue Sep 05, 2006 4:11 pm
				by ts-soft
				gnozal wrote:I don't know how ; I don't have XP ...
only create a file named as Exename.manifest with the text of xp.res in the pb-compilers dir. Then Restart the preview.
 
			 
			
					
				
				Posted: Tue Sep 05, 2006 4:20 pm
				by ts-soft
				PureFORM.exe.manifest wrote:<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <assemblyIdentity
  	type="win32"
    name="PureBasicApplication"
    version="1.0.0.0"
  	processorArchitecture="*"/>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity
        type="win32"
        name="Microsoft.Windows.Common-Controls"
        version="6.0.0.0"
        publicKeyToken="6595b64144ccf1df"
        language="*"
        processorArchitecture="*"/>
    </dependentAssembly>
  </dependency>
</assembly>
Only create and restart the application to show result in XP-Style.
To disable, delete the file and restart.
 
			 
			
					
				
				Posted: Tue Sep 05, 2006 4:33 pm
				by gnozal
				ts-soft wrote:PureFORM.exe.manifest wrote:
Only create and restart the application to show result in XP-Style.
To disable, delete the file and restart.
 
Oh, with a manifest? I meant some API function.
The preview mode does not (re)start anything. It's simply the normal mode without the form designer functions. I don't start the PB compiler to compile the current form to an EXE, so I can't do what you suggest.
But I could add a 'compile form to exe' function.
 
			 
			
					
				
				Posted: Tue Sep 05, 2006 4:52 pm
				by Kiffi
				hello gnozal,
here is a small bug while importing an existent project ('Translate from source'):
PureFORM wrote:Code import error!
Line 68: If OpenWindow(#frmMain, #PB_Ignore, #PB_Ignore, 300, 300, "test", #PB_Window_ScreenCentered | #PB_Window_SystemMenu)
Window coordinate not an integer
I think, you can't parse the #PB_Ignore - Constant, right?
Greetings ... Kiffi
 
			 
			
					
				
				Posted: Tue Sep 05, 2006 4:54 pm
				by ts-soft
				Only create the manifest, end pureform.exe and restart with automatic loading last project  
 
Very simple. If the manifest at start found, pureforms.exe uses XP-Style at all, if not found, no XP-Style.
No API-required. Only the manifest as file delete or create bevor new start the designer.
