website logo
Auteur
avatar
artblink

Forum » » Création-Développement » » MHE pour test et idée et etc...


Posté : 28-12-2013 16:04 icone du post

SA FONCTIONNE DU TONNERRE ET C'EST SUPER RAPIDE...

Voici l'aide rapide

Je pique la valeur du nlist de commande
Je recherche dans le texteditor caché la commande correspondante
Je copie la ligne (GetLine)
Je mets le contenu de la ligne dans l'aide rapide

Merci Sinisrus.... grâce a tes codes de merdes, j'apprend plus facilement RxMui

Perso, je pense toujours que t'a quasi créer 50% de mon prg

Pour zzd10h, bin il dort pas car ces combines a 2 sous m'ont super bien aider

Merci mes caillins sans poils lol



Voici le code pour piquer les infos dans le text editor:

AideEnLigneDeCommande:

if AideGuide=1 then do
if AfficherLigneAideDeCommande~=0 then do
CommandeHollywood=xget(ListingDesCommandes,activeentry)
Test=left(CommandeHollywood,1)
if Test~="-" then do
call domethod(listview3,"search",CommandeHollywood,top)
CALL DoMethod(listview3,"ArexxCmd",GETLINE,"AideCommande")
call set("ZoneInformation","contents",parsetext("%b"AideCommande))
end
AfficherLigneAideDeCommande=1
end
end

call set("win",activeobject,Zonedetext.Numero)

RETURN

listview3 est le texteditor CACHE... oui, le nom n'a rien a voir avec un texteditor, mais n'oubliez pas que je suis un bidouilleur

Cet article provient de Le site des utilisateurs francophones actuels et futurs d'AmigaOS 4.x
https://amiga-ng.org/viewtopic.php?topic=1734&forum=14