forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Nederlandse hulp
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Multilingual Help
View previous topic :: View next topic  
Author Message
HGsOFT
Newbie


Joined: 14 May 2003
Posts: 19
Location: Netherlands

PostPosted: Thu Aug 07, 2003 2:20 pm    Post subject: Reply with quote

Ik ben er uit je moet gewoon met deze code beginnen aan het begin van je CHILDDIALOG

Code:
OPTION ERRORTRAP,CHILD1_ERRORTRAP


Maak een label CHILD1_ERRORTRAP en geef een WARN message.

En dan ga je weer naar GOTO CHILD1_EVLOOP en de fout melding is weg.

m.v.g
H. Gerrlich
Back to top
View user's profile Send private message Visit poster's website
addictive
Newbie


Joined: 06 Sep 2003
Posts: 7
Location: The Netherlands

PostPosted: Sat Sep 06, 2003 12:32 pm    Post subject: Reply with quote

Hallo,
Door vic ben ik op deze sitye terecht gekomen, en nu wil ik graag weten hoe ik het beste VDS kan leren.

groeten,
Mick
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Sat Sep 06, 2003 1:31 pm    Post subject: Reply with quote

Hoi Mick,

ik heb het me geleerd door gewoon... te gaan klooien Laughing.
Voor vragen kun je altijd hier terecht.

Groetjes,
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
addictive
Newbie


Joined: 06 Sep 2003
Posts: 7
Location: The Netherlands

PostPosted: Sat Sep 06, 2003 1:53 pm    Post subject: Reply with quote

Vic wrote:
Hoi Mick,

ik heb het me geleerd door gewoon... te gaan klooien Laughing.
Voor vragen kun je altijd hier terecht.

Groetjes,
Vic
oké, bedankt.

gr. Mick
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
HGsOFT
Newbie


Joined: 14 May 2003
Posts: 19
Location: Netherlands

PostPosted: Tue Sep 09, 2003 6:18 pm    Post subject: Open een file Reply with quote

Hallo, Skit

Je kan een file met het commando @filedlg openen.
Maar nu wil ik zelf bepalen in welke map hij begint.
Ik heb al in het register gekeken maar hier kom ik niet uit.
Code:
%%openfile = @filedlg("BRB (*.kbg)",Open File)

Dit is het commando wat ik gebruik.
Weet jij of iemand anders een oplossing?

m.v.g
Horst
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Sep 09, 2003 6:45 pm    Post subject: Reply with quote

Dat kan simpel gedaan worden door een derde parameter toe te voegen:

Code:
%%openfile = @filedlg("BRB (*.kbg)",Open File,"c:\*.kbg")


Let wel, enkel c:\ werkt om de een of andere reden niet.

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
HGsOFT
Newbie


Joined: 14 May 2003
Posts: 19
Location: Netherlands

PostPosted: Wed Oct 29, 2003 5:40 pm    Post subject: Reply with quote

Hallo Skit,

Ik heb een programma gemaakt met 2718 lines, het programma werkt
als ik het in visual dialogscript test.
Maar als hij gecompileerd is werkt het programma niet goed.
Ik heb het idee dat de run "time" in visual dialogscript langzamer is
dan wanneer het programma gecompileerd is.
Weet jij hier een oplossing voor.

m.v.g
H. Gerrlich
Back to top
View user's profile Send private message Visit poster's website
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Wed Oct 29, 2003 6:35 pm    Post subject: Reply with quote

Dat klopt, de IDE van VDS is trager als wanneer het script compiled is, maar ik zou niet weten waarom de het programma dan niet loopt...

Geeft het programma errors bij het uitvoeren of sluit het ineens af?

Groetjes,
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
HGsOFT
Newbie


Joined: 14 May 2003
Posts: 19
Location: Netherlands

PostPosted: Thu Oct 30, 2003 11:24 am    Post subject: Reply with quote

Hallo Vic,

Het probleem is al opgelost.

Het programma blijkt in een sub routine te zitten, het beeld knippert een
paar keer en loopt dan vast.

Code:
OPTION sleeptime,100


Met deze code heb ik hem wat trager laten lopen standaart is het 50ms.

Het probleem was ook teveel sub routines achter elkaar inclusief berekeningen.
Code:
GOSUB


m.v.g.
H. Gerrlich
Back to top
View user's profile Send private message Visit poster's website
easy rider
Valued Newbie


Joined: 10 Sep 2001
Posts: 26
Location: Netherlands

PostPosted: Sun Jan 11, 2004 9:26 pm    Post subject: list cq table element Reply with quote

Hoi,

Na dik 1,5 jaar maar weer eens met vds begonnen. En meteen een vraagje. In een progje gebruik ik het table element. Als ik nu iets wil zoeken in deze lijst wat ik erin laadt (met de @match() functie) dan gaat dit in zoverre goed, zei 't niet dat ik dan zelf omlaag moet scrollen in de lijst om het gevonden item te zoeken. Bij het gebruik van het list element hoeft dit nl niet, deze laat meteen de juiste plaats zien.
Is hier e.e.a. oplossing voor.
Hopelijk is e.e.a duidelijk.

grtz Rene
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Mon Jan 12, 2004 9:08 am    Post subject: Reply with quote

U zou iets als dit kunnen gebruiken:

Code:

# Lijst met data
list create, 1

# Datalijst overzetten naar het table element
list assign, 1, table1

%T = @match(1, MijnText)
list seek, table1, @index(1)


Ik weet alleen niet zeker of dit is wat u bedoelt Confused

Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Jan 12, 2004 2:52 pm    Post subject: Reply with quote

Volgens mij zou dit dan ook moeten werken... Rolling Eyes

Code:

  %T = @match(table1, MijnText)
  list seek, table1, @index(table1)
Back to top
View user's profile Send private message
easy rider
Valued Newbie


Joined: 10 Sep 2001
Posts: 26
Location: Netherlands

PostPosted: Mon Jan 12, 2004 10:51 pm    Post subject: Reply with quote

Bedankt voor jullie moeite, maar dat was niet helemaal de vraag. Kijk naar het script hieronder. Als je op zoek klikt en je kiest voor de 10, dan wordt in het list element automatisch naar onder gescrolled naar de 10 en in het table element niet. Het is dus de bedoeling dat dit ook in het table element gebeurt.

grtz Rene


Code:
Title CD collectie
  DIALOG CREATE,CD Collectie,-1,0,370,280
  DIALOG ADD,MENU,&Bestand,&Afsluiten
  DIALOG ADD,GROUP,GR1,-1,0,410,2
  DIALOG ADD,BUTTON,BUTTON1,10,10,64,20,Zoek:
  DIALOG ADD,TABLE,T1,35,10,350,100,Artiest[100]|Album[100]|Medium[60]|Volume[60],,SORTED,COLUMNSORT
  DIALOG ADD,LIST,L1,145,10,350,100
  DIALOG ADD,STATUS,ST1,[120]|
  DIALOG SHOW
  list add,l1,1
  list add,l1,2
  list add,l1,3
  list add,l1,4
  list add,l1,5
  list add,l1,6
  list add,l1,7
  list add,l1,8
  list add,l1,9
  list add,l1,10
  list seek,l1,0
  list assign,t1,l1
 
:Evloop
  wait event
  goto @event()
 
:BUTTON1BUTTON
  %M = @input(geef een zoekwoord,10)
  if %M
    if @match(T1,%M)
      dialog focus,T1
      list seek,l1,@index(t1)
    else
      info %M niet gevonden!
    end
  end     
  goto evloop
   
:Afsluitenmenu
:Close
  end
  exit


Aangepast door een Site Team lid; nu gebruikt deze post de [code:1:56a0848468] bbcode tag
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Wed Jan 14, 2004 10:14 am    Post subject: Reply with quote

Hmm...

probeer eens met "list seek, t1, 0" voor de @match functie... Ik zou anders ook niet weten wat er mis gaat Confused

Code:

Title CD collectie
  DIALOG CREATE,CD Collectie,-1,0,370,280
  DIALOG ADD,MENU,&Bestand,&Afsluiten
  DIALOG ADD,GROUP,GR1,-1,0,410,2
  DIALOG ADD,BUTTON,BUTTON1,10,10,64,20,Zoek:
  DIALOG ADD,TABLE,T1,35,10,350,100,Artiest[100]|Album[100]|Medium[60]|Volume[60],,SORTED,COLUMNSORT
  DIALOG ADD,LIST,L1,145,10,350,100
  DIALOG ADD,STATUS,ST1,[120]|
  DIALOG SHOW
  list add,l1,1
  list add,l1,2
  list add,l1,3
  list add,l1,4
  list add,l1,5
  list add,l1,6
  list add,l1,7
  list add,l1,8
  list add,l1,9
  list add,l1,10
  list seek,l1,0
  list assign,t1,l1

:Evloop
  wait event
  goto @event()

:BUTTON1BUTTON
  %M = @input(geef een zoekwoord,10)
  if %M
    # List weer terug op nul zetten
    if @not(@zero(@count(T1)))
      list seek, T1, 0
    end
    if @match(T1,%M)
      dialog focus,T1
      list seek,l1,@index(t1)
      else
        info %M niet gevonden!
      end
    end
    goto evloop

:Afsluitenmenu
:Close
  end
  exit


Groetjes,
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
easy rider
Valued Newbie


Joined: 10 Sep 2001
Posts: 26
Location: Netherlands

PostPosted: Wed Jan 14, 2004 2:21 pm    Post subject: Reply with quote

Tja Vic,

ook dit werkt niet, waarschijnlijk is het niet mogelijk dat het table element niet automatisch kan scrollen naar de juiste waarde, beetje vreemd vind ik wel. Zeker als je een lijst hebt van 1000 of meer items.

toch bedankt voor de moeite.

grtz rene
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Multilingual Help All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group