http://code.google.com/p/fivewin-contributions/downloads/detail?name=fivedbu_20120609.zip&can=2&q=


function View( oBrw, oWnd )
local cAlias := Alias()
//local cFileName := oBrw:aRow[ 2 ]
//local cExt := Lower( cFileExt( cFileName ) )
IF ( Alias() )->( FIELDTYPE( oBrw:nArrayAt ) ) = "C" .and. ;
    LEN( ( cAlias )->( Fieldget( oBrw:nArrayAt ) ) ) > 7
  cFileName := ALLTRIM(oBrw:aRow[ 2 ])
  cExt := Lower( cFileExt( cFileName ) )
  IF !EMPTY( cExt )
    do case
      case cExt == "bmp"
        WinExec( "mspaint" + " " + cFileName )
      case cExt == "txt"
        WinExec( "notepad" + " " + cFileName )  Â
    otherwise
        ShellExecute( oWnd:hWnd, "Open", cFileName )
    endcase
  ENDIF
ELSE
  MsgAlert( "No valid File to load for Preview !", "File-Error")
ENDIF
return nil


Hello Antonio,
is there a special reason why you selected MDI design fort he new FiveDBU.
I will remember that I read that MDI is no longer part of WINDOWS 8.
So bringing the design to WINDOWS 8 is the more mature FIVEDBU becomes the more work it will be.
Best regards,
Otto
Hello Antonio,
one more question WINDOWS 8 metro style concerning.
If we plan to adapt FiveDBU to MetroStyle the conversation if resources are used is much more work confronted to coded dialogs or windows.
Best regards,
Otto
Hello Antonio,
if I use filter the system seems to hang and becomes extremly slow.
I tried with a small dbf and a simple filter (kdnr=123).
Best regards,
Otto
Otto,
I am developing and testing FiveDBU on Windows 8 and works fine ![]()
Hello Antonio,
I know but it does not look like Windows 8 Metro style.
lg
Otto
Dear Otto,
By now, what we are looking for is for a free and full source code provided functional DBU ![]()
And we are almost there
Hello Antonio,
I don’t understand the problem.
Why can’t we use hard coded dialogs instead of resources and no MDI windows.
You also did this in your touch.prg MetroStyle.
It would be a great opportunity to have a WDBU with a modern looking design.
Best regards,
Otto
Otto,
If we want tiled child windows, how can we implement them using W8 look ? I guess we can't...
Hello Antonio,
I think we should pass this task to the OS.
Best regards,
Otto
http://en.wikipedia.org/wiki/Multiple_d ... _interface
Please see:
Comparison with single document interface and Disadvantages
Otto,
Thats what we do in FWH, we use Windows built in MDI
but Windows 8 does not provide it (unless you use tabs, etc)
Hello Antonio,
please read the chapter "Disadvantages" of MDI.
>but Windows 8 dors not provide it (unless you use tbas, etc)
Therefore I think we should not use them anymore.
Best regards,
Otto
as if to say that they were wrong the whole time, so let’s try something altogether new
Now Microsoft wants to take all the habits and workflows and new skill sets we’ve developed and toss them into the bin for this?