Jump to content

Huseyin SEKER

Members
  • Content Count

    23
  • Joined

  • Last visited

  • Days Won

    1

Huseyin SEKER last won the day on June 1

Huseyin SEKER had the most liked content!

About Huseyin SEKER

  • Rank

  1. Can you post the code you used? Maybe it is better.
  2. Hi, i searched over internet and found some usefull scripts. (Source: https://stackoverflow.com/questions/12381563/how-to-stop-browser-back-button-using-javascript ) When you add following javascript codes before </head> tag of index.html it works. <script language="javascript"> history.pushState(null, document.title, location.href); window.addEventListener('popstate', function (event) { history.pushState(null, document.title, location.href); }); </script> </head> I tested on windows (firefox and chrome) and on android cell phone (chrome browser). That's exactly what i want. When back button is pressed nothing happens and the edit boxes and information entered on the active page is not lost. Can someone try this at iOs devices?
  3. I tried your code but it doesn't work. I tested on android (chrome) and windows (firefox). When i press back button of my cell phone below ( near home and recent apps button) it goes back to previous page, i don't want that. I want the visitor stay on my page-my application. In windows it's not so important but in cell phones it is important.
  4. How can i disable back button on android chrome browser? You wrote some code below which gives errors when i compile,so which units should i write to uses section?
  5. Thanks that made the solution. Now on windows and android phone a nice scrollbar is shown and it works. I face problems using IDE sometimes, i can write them here when i got time. And this topic is related to IDE i think but i posted to "code" section by mistake, you may move it if you want.
  6. Thats nice. I tried to copy and paste from character map of windows and it didnt work but this works, thanks.
  7. Hi, I want to display some signs on the label for example a left arrow sign, an enter sign like on keyboard, can i do that? for example can i implement wingdings 2 font family to a label, is it possible?
  8. Hi wish you good day, I placed a listbox on the form and entered a lot of items. When i compile it and test on browser vertical scrollbar is not displayed, but when i mouse over it it is displayed and it is a tiny scrollbar. So i tried to change scrollbars property to "sbscrollbar" by property inspector, when i compile it gives error "Unknown name "TW3ScrollBarType" How can i show a wide normal scrollbar on listbox?
  9. Thanks, with divhtmlelement the below code worked allright: W3DIVHtmlElement1.InnerHtml:='today<br><br><br>weather<br>sunny';
  10. Hi, I'm trying to add newlines with code for example: W3Label1.Caption:='today<br><br><br>weather<br>sunny'; in chrome the result is as expected: today weather sunny BUT in firefox (old or newest version it's the same) the result is not correct as below: today weather sunny. I added three <br> but it only makes 1 linebreak, why? How can i solve this? I tried #13#10 and it didn't work on chrome or firefox either.
  11. Ok, thank you, in rad studio delphi if you are developing an application for android then it's not advised so i asked here.
  12. is it allright to get a char of string like this s[1] var s: string='abcd'; for example s[1] gives a s[2] gives b s[s.length] gives d
  13. I have a panel which contains a lot of content. When i use: W3Panel1.NativeScrolling:=true; on windows scrolling is OK and firefox and chrome shows scrollbars. But when i test it on my android phone with chrome, scrollbars aren't displayed. How can i show vertical scrollbars so the user can understand there is content below? And there is tw3verticalscrollbar visual control on scrolling tab, how to use it? And what are the difference between tw3scrollbox and tw3nativescrollbox? How to use tw3scrollbox? I need documentation about using most of the controls.
  14. Huseyin SEKER

    Scroll form

    i wanted to add long content by property inspector. What if i want to add 2 pages of text to the memo, how difficult it would be add such text by code.. I think a memo control should get multiline content at design time, that's why it's name is memo. Also i cannot access a line like this w3memo.Lines[3] etc..
×
×
  • Create New...