Jump to content

Czar

Members
  • Content Count

    445
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by Czar

  1. When I click on"forums" along the top I get this message.

     

     

    /**

    * SyntaxHighlighter

    * http://alexgorbatchev.com/SyntaxHighlighter

    *

    * SyntaxHighlighter is donationware. If you are using it, please donate.

    * http://alexgorbatchev.com/SyntaxHighlighter/donate.html

    *

    * @version

    * 3.0.83 (July 02 2010)

    *

    * @copyright

    * Copyright © 2004-2010 Alex Gorbatchev.

    *

    * @license

    * Dual licensed under the MIT and GPL licenses.

    */

    eval(function(p,a,c,k,e,d){e=function©{return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e©]=k

    
    
    ||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k
    
    

    ){p=p.replace(new RegExp('\\b'+e©+'\\b','g'),k

    
    
    )}}return p}('(2(){1 h=5;h.I=2(){2 n(c,a){4(1 d=0;d<c.9;d++)i
    
    

    ]=a}2 o©{1 a=r.H("J"),d=3;a.K=c;a.M="L/t";a.G="t";a.u=a.v=2(){6(!d&&(!8.7||8.7=="F"||8.7=="z")){d=q;e

    
    

    =q;a:{4(1 p y e)6(e[p]==3)B a;j&&5.C(k)}a.u=a.v=x;a.D.O(a)}};r.N.R(a)}1 f=Q,l=h.P(),i={},e={},j=3,k=x,b;5.T=2©{k=c;j=q};4(b=0;b<f.9;b++){1 m=f.w?f:f.S(/\\s+/),g=m.w();n(m,g)}4(b=0;b<l.9;b++)6(g=i[l.E.A]){e[g]=3;o(g)}}})();',56,56,'|var|function|false|for|SyntaxHighlighter|if|readyState|this|length|||||||||||||||||true|document||javascript|onload|onreadystatechange|pop|null|in|complete|brush|break|highlight|parentNode|params|loaded|language|createElement|autoloader|script|src|text|type|body|removeChild|findElements|arguments|appendChild|split|all'.split('|'),0,{}))

     

     

     

    This is the URL

    http://smartmobilestudio.com/forums/

     

    Whereas this is the url I come in on

     

    http://op4js.optimalesystemer.no/forums/

  2. Thanks for the full reply. I am only starting to realise how much I don't know yet.

     

     

     

    With events I mean a button's onclick, or an edits onchange or keypress etc - more likely delphi so we can double click the "event" we need and write the code - that would speed up creating complex screens quite a bit.

  3. We are contemplating a business application that I feel may require node.js or meteor to really provide users with a great experience. I have only just started on my path to learning javascript jquery etc and will be relying initially on new hired staff. The question, will SMS be incorporating node and those advanced frameworks? I don’t see node in the road map although from memory it did come up in a thread some time ago.

     

     

     

    PS: is new update on its way? What will be included? Events? Custom sized output windows?

  4. That looks excellent. I have only tried the original version and your demo page. At the moment your implementation doesn't have the mouse dragging ability, correct?

     

    I really need to get my work done so I can start using SMS again. Too busy with other not-so-much-fun stuff.

     

  5. I do have to say this forum is very difficult to use. I know you have talked about replacing it. It would certainly help to be able to get a list of "most recent posts" or "posts since my last visit. Also to be able to attach images and zips would be good.

  6. Is there an equivalent to

    GetTickCount

    or some other variable that contains times since application started?

     

    GetTickCount (or TimeGetTime) is useful for updating animations and frames etc.

  7. I sorted my own problem. I have used Jascha code for time being replaced config.keys with the key values 37, 38, 39 etc

     

    Instead of hot fixes have you considered making daily builds available? Especially in teh beginning while there are many bugs and issues reported?

     

    It is a long time between hot fixes if we have to wait for critical updates.

  8. Is there something I can do in the meantime to make it work - What do I need to do to get Jascha's code working. If I have keys working I can continue with the rest of my program, without it I am dead in the water.

  9. You lost me after "To bypass this you can do, very simple, something like this:"

     

    I tried the code I tried using different handlers but they all come up with a handler mismatch error. Sorry, but my programming experience is quite narrow compared to most people.

     

    I had tried the http://smartmobilestudio.com/2012/04/03/keyboard-events-how-to/ ideas but they don't seem to work in a TW3CustomGameApplication. That is one thing I hope you guys can work on, expand the basic samples. At the moment I am finding many are too complicated to learn from or don't cover issues that I am dealing with. Anyway, that wasn't a critism just an observation. I will try Jascha's code.

     

     
    procedure TApplication.HandleKeyDown(Sender:TObject;aKeyCode:Integer); 
    begin 
      writeln(aKeyCode); 
    end; 
    
    //############################################################################ 
    // TApplication 
    //############################################################################ 
    
    procedure TApplication.HookKeyboard; 
    var 
    mWindow: THandle; 
    Begin 
    mWindow:=BrowserAPI.GetWindow; 
    mWindow.onkeydown:=@HandleKeyDown; 
    end; 
    

  10. With the hot fix in June can you please add a feature so that we can

     

    a. Not have iphone as default

    b. create a custom sized screen

     

    That would very useful

×
×
  • Create New...