topic
stringlengths 1
63
| text
stringlengths 1
577k
⌀ |
|---|---|
Ando queriendo dejar el Xmate (ya no tiene soporte)
|
Buenas,
alguien tiene la dirección de correo de Andy Wos ?
Muchas gracias.
Saludos
|
Ando queriendo dejar el Xmate (ya no tiene soporte)
|
Rick:
I'm not sure <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> anyway, please give me an e-mail address and I'l send it to you.
then you can check it.
Regards
|
Ando queriendo dejar el Xmate (ya no tiene soporte)
|
Baxajaun
The authors
Andrew Wos
<!-- e --><a href="mailto:andrwos@aut1.net">andrwos@aut1.net</a><!-- e -->
Augusto Infante
<!-- e --><a href="mailto:august212@earthlink.net">august212@earthlink.net</a><!-- e -->
Regards
|
Ando queriendo dejar el Xmate (ya no tiene soporte)
|
Armando,
muchas gracias.
Un abrazo,
Félix
|
Ando queriendo dejar el Xmate (ya no tiene soporte)
|
Armando
Here is my e-mail address ..
Thanks
Rick Lipkin
<!-- e --><a href="mailto:r1.1955@live.com">r1.1955@live.com</a><!-- e -->
|
Ando queriendo dejar el Xmate (ya no tiene soporte)
|
[quote="Antonio Linares":3k5oktpz]Alguien podria poner aqui unas imágenes capturadas del xMate ? gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:3k5oktpz]
Antonio,
[url:3k5oktpz]https://groups.yahoo.com/neo/groups/xmate_users/info[/url:3k5oktpz]
Could ask to Andy to have the source code and insert it on next fwh package ?
I use xmate ( as many other users) from I work with fwh ( ten year)
with xmate I compiled many application and samples easy
with xmate you can create DLL LIB and exe files easy
xmate use env file to compile into different language ( fwh, fw, minigui, gt and many others)
|
Ando queriendo dejar el Xmate (ya no tiene soporte)
|
Victhor puedes poner las configuraciones de los otros ficheros que nombras:
FWH64, MSVS2013 y Harbor3
|
Ando queriendo dejar el Xmate (ya no tiene soporte)
|
aca el env para msvc2010 32 bits
[quote:1irnadx0]
[Environment]
Description 1=Harbour Compiler for windows
Description 2=and microsoft visual c compiler 2010
Description 3=
PRG Compiler ver=3.2.0dev (r1410131653)
C compiler ver=16.00.30319.01 for 80x86
Subsystem=GTGUI
Author=Carlos Vargas
Last update=11/01/2014
[Advanced]
Command types=1,1,1,1,1,1,2,1,1
[Harbour]
HB_INSTALL=D:\compiler\harbour
HB_COMMAND=%HB_BIN_INSTALL%\harbour.Exe %PRG% /m /n /gc3 /w0 /es2 /i%HB_INC_INSTALL% /q0 /d__HARBOUR__
Option prefix=/
[C]
C_INSTALL=d:\compiler\vc2010
C_COMP_COMMAND=%C_BIN_INSTALL%\cl.exe %CRLF%-c -nologo -TC -W2 -O2 -GA -GS %CRLF%-I%HB_INC_INSTALL% -I%C_INC_INSTALL% %CRLF%-Fo%OBJ% %C%%CRLF%
C_LIB_COMMAND=%C_BIN_INSTALL%\lib.exe /OUT:%LIB% @%RSP%
C_LINK_COMMAND=%C_BIN_INSTALL%\link.exe @%LNK% /nologo /subsystem:windows /NODEFAULTLIB:msvcrt %CRLF%/LIBPATH:%C_LIB_INSTALL% /LIBPATH:%HOME%\LIB /LIBPATH:%HB_LIB_INSTALL%
C_RC_COMMAND=%C_BIN_INSTALL%\rc.exe -r -d__FLAT__ -I%C_INC_INSTALL% -fo%RES% %RC%
C_DLL_COMMAND=
Option prefix=-
[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=
[Files]
D:\fwh\lib\fiveh32.lib=1
D:\fwh\lib\fivehc32.lib=2
%HB_LIB_INSTALL%\hbrtl.lib=3
%HB_LIB_INSTALL%\hbvm.lib=4
%HB_LIB_INSTALL%\gtgui.lib=5
%HB_LIB_INSTALL%\hblang.lib=6
%HB_LIB_INSTALL%\hbmacro.lib=7
%HB_LIB_INSTALL%\hbrdd.lib=8
%HB_LIB_INSTALL%\rddntx.lib=9
%HB_LIB_INSTALL%\rddcdx.lib=10
%HB_LIB_INSTALL%\rddfpt.lib=11
%HB_LIB_INSTALL%\hbsix.lib=12
%HB_LIB_INSTALL%\hbcommon.lib=13
%HB_LIB_INSTALL%\hbdebug.lib=14
%HB_LIB_INSTALL%\hbcomm.lib=15
%HB_LIB_INSTALL%\hbpp.lib=16
%HB_LIB_INSTALL%\hbcpage.lib=17
%HB_LIB_INSTALL%\hbwin.lib=18
%HB_LIB_INSTALL%\hbcplr.lib=19
%HB_LIB_INSTALL%\hbpcre.lib=20
%HB_LIB_INSTALL%\hbct.lib=21
%HB_LIB_INSTALL%\xhb.lib=22
%HB_LIB_INSTALL%\png.lib=23
%HB_LIB_INSTALL%\hbzlib.lib=24
%C_LIB_INSTALL%\kernel32.Lib=25
%C_LIB_INSTALL%\user32.Lib=26
%C_LIB_INSTALL%\gdi32.Lib=27
%C_LIB_INSTALL%\winspool.Lib=28
%C_LIB_INSTALL%\comctl32.Lib=29
%C_LIB_INSTALL%\comdlg32.Lib=30
%C_LIB_INSTALL%\advapi32.Lib=31
%C_LIB_INSTALL%\shell32.lib=32
%C_LIB_INSTALL%\ole32.Lib=33
%C_LIB_INSTALL%\oleaut32.Lib=34
%C_LIB_INSTALL%\uuid.Lib=35
%C_LIB_INSTALL%\odbc32.lib=36
%C_LIB_INSTALL%\odbccp32.lib=37
%C_LIB_INSTALL%\iphlpapi.Lib=38
%C_LIB_INSTALL%\mpr.lib=39
%C_LIB_INSTALL%\version.lib=40
%C_LIB_INSTALL%\msimg32.lib=41
%C_LIB_INSTALL%\oledlg.lib=42
%C_LIB_INSTALL%\psapi.lib=43
%C_LIB_INSTALL%\gdiplus.lib=44
%C_LIB_INSTALL%\winmm.lib=45
%C_LIB_INSTALL%\wsock32.lib=46
[/quote:1irnadx0]
|
Android
|
Hi,
If I take some pictures with the camera of my Tablet or Smartphone How can I store them into a FTP server?
Imagine that I post some information on a web page from the tablet and then taking pictures.
Then photos must be stored on an FTP server.
Any ideas?
Simplified to the maximum, this is the scenario
Using a Tablet or Smartphone
First Name: _______________ "MARCO"
Last Name: _______________ "BOSCHI"
Push the button "Take Pictures" (timestamp 1)
I take some pictures....
Push the button "pictures taken" (timestamp 2)
Push the button "Upload pictures"
The action of this last button is to upload to the ftp server every photos taken between timestamp1 and timestamp2 and associate them into a particular folder named MARCO_BOSCHI.
King regards
Marco Boschi
|
Android
|
Hi,
If I take some pictures with the camera of my Tablet or Smartphone How can I store them into a FTP server?
Imagine that I post some information on a web page from the tablet and then taking pictures.
Then photos must be stored on an FTP server.
Any ideas?
Simplified to the maximum, this is the scenario
Using a Tablet or Smartphone
First Name: _______________ "MARCO"
Last Name: _______________ "BOSCHI"
Push the button "Take Pictures" (timestamp 1)
I take some pictures....
Push the button "pictures taken" (timestamp 2)
Push the button "Upload pictures"
The action of this last button is to upload to the ftp server every photos taken between timestamp1 and timestamp2 and associate them into a particular folder named MARCO_BOSCHI.
King regards
Marco Boschi
|
Android
|
Marco,
You could implement a web page that collects the photos (following whatever criteria you may need) and saves them in your server
So from Android all you have to do is connect to that website, select the pictures (from your Android device) and upload them to the server.
|
Android
|
Antonio,
it's too complex for such kind of users.
usually they:
- enter their code
- enter the processing code
- enter "START"
then work....
at the end
- enter their code
- the processing code appears automatically
- enter "STOP"
the novelty lies in the fact that they take some pictures, this pictures taken in a interval time stamp will be associated to the "processing code"
I think it's just a button that does an upload of pictures taken in a range of time (START & STOP) folder on the server
anyway thanks
|
Android
|
Marco,
You can modify how it works waiting until STOP is pressed, or sending each picture as soon as they are taken (so the user waits less).
But basically, unless you want to code an Android app, if you want to send photos from an Android device to a server, I don't see other way as the one that I suggested you (using a website page). Accessing a web site page (where photos are uploaded automatically) is the only way I can think about without having to code an Android app.
Another possibility is that you find an existing Android app that basically does what you are looking for.
|
Android
|
Antonio,
when You say (using a website page) You mean the typical web page where the user selects a file in the local resources to Upload
(facebook like?)
Many thanks
marco
|
Android
|
Marco,
I mean a website that that to loaded from the Android device, so you could provide them a url icon that just pressing it connects to a website and all the process is done automatically.
Don't ask me how to exactly do it, I have never done it myself, but surely it can be done and quite easily (lots of webpages upload files, and you can control all the process from javascript, etc) so the user will not be prompted for anything.
|
Android 2.0 screenshot walkthrough
|
Very interesting to see how fast Android is evolving:
[url:5r60831f]http://www.boygeniusreport.com/2009/10/16/android-2-0-screenshot-walkthrough/[/url:5r60831f]
|
Android 2.2
|
Antonio
I am about to upgrade my phone.
Will I be able to trial some programming with this version of Android?
Thanks
|
Android 2.2
|
Jonathan,
I think so. Here you can download some examples to test on it:
[url:2po3p3gg]http://code.google.com/p/fivedroid/downloads/list[/url:2po3p3gg]
|
Android 2.2
|
Thank you
I will get the new phone.
I need to get latest version FW. Set up emulator etc.
Give me a week or two and I'll be back in touch.
|
Android 2.2
|
What phone are you using now? Any [url=http://www.01mobile.com/:1jv4ij00]reviews[/url:1jv4ij00]?
|
Android 2.2
|
Hi Mitchell
I decided on a cheapie Huawei (Chineese) mfg phone as a stopgap measure.
Its Android powered and runs chrome to browse i/net just as well as the galaxy but without the bigger screen. Iphone also has the a larger screen if you wish to pay the extra $.
With the progressive development of [u:3q0b5byj]FiveWeb[/u:3q0b5byj] I decided a web solution was a better option than developing for a specific phone and operating system. Also the new option to keep an eye out for is Metro on Windows 8 phones.
Hope this helps.
Jonathan
|
Android = Google Desktop Linux?
|
Hello!
<!-- m --><a class="postlink" href="http://www.computerworld.com.au/article/274396/google_linux_desktop_has_arrived?fp=4&fpid=18">http://www.computerworld.com.au/article ... =4&fpid=18</a><!-- m -->
[quote:8rgtmxno]Specifically, the two got Android running in desktop Linux mode on a netbook, the Asus Eee PC 1000H. This is a pretty standard netbook. If you can get Android to run on it, you shouldn't have much trouble getting it to work on any desktop. [/quote:8rgtmxno][quote:8rgtmxno]While it is true that Android's applications are written in the JVM (Java Virtual Machine, Dalvik, instead of Linux developers' eternal favorites, Gnu C or C++, Android already includes a set of C/C++ libraries. So, [b:8rgtmxno][color=#BF0000:8rgtmxno]porting GCC (GNU Compiler Collection) shouldn't be that difficult. [/color:8rgtmxno][/b:8rgtmxno]After that's done, bringing over OpenOffice 3.0 or the like would be trivial. [/quote:8rgtmxno]
<!-- m --><a class="postlink" href="http://ranahammad.wordpress.com/2009/01/21/a-developers-eye-view-of-smartphone-platforms/">http://ranahammad.wordpress.com/2009/01 ... platforms/</a><!-- m -->
[quote:8rgtmxno]Smartphone programming is booming. The little leash that lets your boss reach out and ruin your time off is turning into a platform of seemingly infinite possibilities. It’s more than just iPhone applications that simulate a glass of beer that drains as the accelerometer measures the amount of tilt. The new smartphones can act as a wallet, a personal shopper, a personal trainer, and a source of endless amusement.[/quote:8rgtmxno]
<!-- m --><a class="postlink" href="http://the-gadgeteer.com/2009/01/23/a-week-with-the-android-g1-smartphone/comment-page-1/">http://the-gadgeteer.com/2009/01/23/a-w ... nt-page-1/</a><!-- m -->
[quote:8rgtmxno]The G1 was originally released by T-mobile and locked to their network. Since I’m an AT&T customer and we don’t even have T-mobile coverage in my area, I figured I’d have to wait until unlocked versions of this phone showed up on eBay before I’d be able to get my hands on one.
But now it’s even easier to get an unlocked G1… You just sign up as a developer at the Android Market. Don’t worry, you don’t have to prove that you can write a Hello World program in C++ or anything like that. You just login, sign-up, pay the $25 registration fee and presto, you’re a bona fide G1 developer. Then you can immediately buy a totally unlocked G1 for $399, which is just what I did.[/quote:8rgtmxno]
Cheers, Roman
|
Android = Google Desktop Linux?
|
Roman,
I have already been able to boot several computers with Google Android as the computer operating system <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
I used a pendrive as a USB boot device. Standard x86 PCs. Though it uses the Linux kernel, its quite a different "thing" from other Linux distros. Anyhow, time will tell... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
|
Android = Google Desktop Linux?
|
Hello!
[b:3q0t4ht2][list:3q0t4ht2] <!-- m --><a class="postlink" href="http://android-tricks.blogspot.com/2009/02/hello-world-c-program-on-using-android.html">http://android-tricks.blogspot.com/2009 ... droid.html</a><!-- m --> [/list:u:3q0t4ht2][/b:3q0t4ht2][code=text:3q0t4ht2]<div class="text" id="{CB}" style="font-family: monospace;">I had reported earlier how I had gotten a C Hello World statically-linked program running on my Android phone using CodeSourcery's toolchain (on linux). Today I got a dynamically-linked Hello World program running on the phone, compiled using Android's prebuilt toolchain from the source.<br /><br />It's well known that Android uses a stripped down version of libc, called bionic. When you compile your program with static linking, you don't use bionic because well, you linked statically. This is non-ideal. You want to use the bionic library on the phone, and besides you want to compile using Android's prebuilt cross-compiler arm-eabi-gcc<br /><br />If you are anxious to get things working, use agcc, a perl wrapper over arm-eabi-gcc that sets up everything for you so that you can just:<br />$ agcc hello.c -o hello</div>[/code:3q0t4ht2]
[b:3q0t4ht2][list:3q0t4ht2] <!-- m --><a class="postlink" href="http://plausible.org/andy/agcc">http://plausible.org/andy/agcc</a><!-- m --> [/list:u:3q0t4ht2][/b:3q0t4ht2][code=perl:3q0t4ht2]<div class="perl" id="{CB}" style="font-family: monospace;"><span style="color: #808080; font-style: italic;"># The Android toolchain is ... rough. Rather than try to manage the</span><br /><span style="color: #808080; font-style: italic;"># complexity directly, this script wraps the tools into an "agcc" that</span><br /><span style="color: #808080; font-style: italic;"># works a lot like a gcc command line does for a native platform or a</span><br /><span style="color: #808080; font-style: italic;"># properly integrated cross-compiler. It accepts arbitrary arguments,</span><br /><span style="color: #808080; font-style: italic;"># but interprets the following specially:</span><br /><span style="color: #808080; font-style: italic;">#</span><br /><span style="color: #808080; font-style: italic;"># -E/-S/-c/-shared - Enable needed arguments (linker flags, include</span><br /><span style="color: #808080; font-style: italic;"># directories, runtime startup objects...) for the</span><br /><span style="color: #808080; font-style: italic;"># specified compilation mode when building under</span><br /><span style="color: #808080; font-style: italic;"># android.</span><br /><span style="color: #808080; font-style: italic;">#</span><br /><span style="color: #808080; font-style: italic;"># -O<any> - Turn on the optimizer flags used by the Dalvik build. No</span><br /><span style="color: #808080; font-style: italic;"># control is provided over low-level optimizer flags.</span><br /><span style="color: #808080; font-style: italic;">#</span><br /><span style="color: #808080; font-style: italic;"># -W<any> - Turn on the warning flags used by the Dalvik build. No</span><br /><span style="color: #808080; font-style: italic;"># control is provided over specific gcc warning flags.</span><br /> </div>[/code:3q0t4ht2]
[b:3q0t4ht2][list:3q0t4ht2] <!-- m --><a class="postlink" href="http://android-dls.com/wiki/index.php?title=Compiling_for_Android">http://android-dls.com/wiki/index.php?t ... or_Android</a><!-- m -->[/list:u:3q0t4ht2][/b:3q0t4ht2][code=txt:3q0t4ht2]<div id="{CB}" style="font-family: monospace;">The Embedded Debian project provides a simple to use toolchain for ARM EABI. To set it up: <br /><br />apt-get install emdebian-tools<br />emsetup --arch armel</div>[/code:3q0t4ht2][b:3q0t4ht2][list:3q0t4ht2] <!-- m --><a class="postlink" href="http://android.jim.sh/index.php/Cross_Compilation">http://android.jim.sh/index.php/Cross_Compilation</a><!-- m -->[/list:u:3q0t4ht2][/b:3q0t4ht2]
|
Android = Google Desktop Linux?
|
Roman,
Thanks for the info <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
In my opinion, Android will not be an Ubuntu (or other linux distros) menace for now (neither in a close future).
In fact, Linux users share remains very low, and Android is not even available yet as an installable ISO!
|
Android = Google Desktop Linux?
|
[quote="Antonio Linares":25lv0suw]Roman,
In my opinion, Android will not be an Ubuntu (or other linux distros) menace for now (neither in a close future).
In fact, Linux users share remains very low, and Android is not even available yet as an installable ISO![/quote:25lv0suw]
BTW, here is an interesting analysis (+comments): <!-- m --><a class="postlink" href="http://www.osnews.com/story/21160/Linux_Up_in_Servers_Down_in_Netbooks_Android_to_the_Rescue_">http://www.osnews.com/story/21160/Linux ... he_Rescue_</a><!-- m -->
Regards, Roman
|
Android = Google Desktop Linux?
|
Roman,
Thanks for the link <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
The problem that I lately see with Google is that they do great things (services, products) but they don't follow the "main stream" way of working.
In example: Google App Engine is a great concept, but it is totally different from Apache servers (main stream). You are forced to use Python, so they break backwards compatibility with lots of php, etc. applications. No SSH support, no FTP, no MySQL, etc.
These kind of mistakes can really hurt a company, in the long term, even if it is powerful one. See what is happening these days to Sun Microsystems: it is quite close to get acquired by IBM because it is not profitable.
Android is a great concept, but it is not being properly implemented and promoted. They should have used a well known distro like Ubuntu or similar. But they want to be in control, like usual (the same error that many companies do). So they are starting all over again, in a total different way, and that will require many years to get popular, if ever. Thats my opinion <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
|
Android = Google Desktop Linux?
|
Wise words. I agree.
EMG
|
Android Emulator
|
Antonio,
Which emulator do you use to test de FiveDroid programs? Is it running on a Windows Machine, of Linux?
I first want to test it on a emulator, before testing it on my HTC <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
Thanks,
Marc
|
Android Emulator
|
Marc,
Google provides the Android development kit for Mac, Windows and Linux, so you can choose the one that you prefeer <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
[url:2lwmquzj]http://developer.android.com/sdk/index.html[/url:2lwmquzj]
|
Android GUI from Harbour - Working!!!
|
[url:1g65ptsh]http://code.google.com/p/fivedroid/wiki/Android_GUI_from_Harbour[/url:1g65ptsh]
|
Android GUI from Harbour - Working!!!
|
Lo que no me queda claro es la ventaja a usar esto en vez de C puro <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
Ahora, ESTA DE VICIO!!
Una mejora sería pasarle en el New( this ).
|
Android GUI from Harbour - Working!!!
|
Rafa,
Podemos trabajar con DBFs, podemos reusar código de procesos que tengamos en el PC, es un lenguaje que conocemos desde años, y es fascinante <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
En cuanto al new( this ), bueno ahora toca darle al Java <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
|
Android GUI from Harbour - Working!!!
|
Y yo me pregunto...
[color=#0080BF:2117kuqq]Herramientas/Utilidades para poder desarrollar para Android.
Emulador de movil, etc...
Compilador.
Versión de FWH:
Versión de Harbour/xHarbour... etc...[/color:2117kuqq]
Esto se pone interesante <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: --> <!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: -->
|
Android GUI from Harbour - Working!!!
|
JM,
Todo lo que necesitas saber para poder probarlo esta aqui:
<!-- m --><a class="postlink" href="http://code.google.com/p/fivedroid/">http://code.google.com/p/fivedroid/</a><!-- m -->
|
Android GUI from Harbour - Working!!!
|
[quote="Antonio Linares":1uuitvtj]http://code.google.com/p/fivedroid/[/quote:1uuitvtj]¡¡¡ Buff... !!! muy fuerte para mi marchito cerebro.
Vas a poner unas pautas a seguir para compilar PRGs.
|
Android GUI from Harbour - Working!!!
|
JM,
Vamos a preparar unos videos que expliquen todo el proceso paso a paso <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
|
Android GUI from Harbour - Working!!!
|
Eso, eso... <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
|
Android GUI from Harbour - Working!!!
|
Bueno creo que tenemos que empezar a ahorrar $$$ para comprar tanto el iPhone como el Android.
Por supuesto la renovacion al FTDN deber ser una prioridad nuestra para seguir apoyando a FTS con el desarrollo de estos proyectos mobiles.
El asunto es que las aplicaciones de las PC se estan moviendo para ser usadas en los iPhones y Android; claro aplicaciones "lite" pero combinanada con acceso a website o servidor remoto pueden parecer como "grandes aplicaciones".
Nosotros con la ayuda de FTS, con la experiencia que tenemos usando FW, podriamos desarrollar nuevas aplicaciones para el mercado de los smartphones.
De igual manera podriamos crear aplicaciones "lite" de nuestros programas "desktop" que puedan usarse en los iPhones y Androids.
Les aconsejo a los compañeros del foro que no dejen pasar esta segunda oportunidad (la primera fue la creacion del internet).
Me refiero al nuevo "Boom" en Sillicon Valley, gracias a los "smartphones", que ya comenzo de nuevo como indican una serie de articulos publicados recientemente en el prestigioso Wall Street Journal.
Mas abajo vean lo que salio en la primera pagina del WSJ de pasado dia 19 de Abril:
[img:3gu3kgiw]http://img861.imageshack.us/img861/7913/wjs041911.png[/img:3gu3kgiw]
Saludos,
George
|
Android GUI from Harbour - Working!!!
|
Hello my friend Antonio.
Time many of the pieces from entering the site to enter your company.
I need a new library Android.
But I have a number of questions.
1 - Does the library operate on all versions of Android.
2 - Can I modify the Zone as soon as the old prg.
3 - Can I add functionality from c \ c++.
My respect for you and Gentlemen
all fivewin Programmers .
hathal .
<!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
|
Android GUI from Harbour - Working!!!
|
Hathal,
FiveDroid is just a proof of concept about how to integrate Harbour as a library, inside Android, and use it from it.
But if you plan to develop Android apps, its not the way to go. Take the Android learning curve and use the tools that Google provide and probably the most dificult part of all: change your way of thinking... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
|
Android GUI from Harbour - Working!!!
|
[quote="Antonio Linares":1qi78ogo]the most dificult part of all: change your way of thinking... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:1qi78ogo]
I can attest to that. I'm so used to manipulate anything in arrays for speed and when I start to learn other languages that don't have ragged arrays, I was stuck <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
|
Android M (Android for Work)
|
[url:3kgo88ql]http://arstechnica.com/gadgets/2015/05/digging-into-the-google-io-2015-schedule-android-m-voice-access-and-more/[/url:3kgo88ql]
[url:3kgo88ql]https://www.wayerless.com/2015/05/google-anuncia-accidentalmente-a-android-m/?utm_medium=autopromo&utm_source=fayerwayer&utm_campaign=postcruzado[/url:3kgo88ql]
[url:3kgo88ql]https://www.google.es/work/android/[/url:3kgo88ql]
[url:3kgo88ql]https://support.google.com/work/android/answer/6095397?hl=en[/url:3kgo88ql]
|
Android and Bluetooth info
|
[url:1rwlv6yz]https://code.tutsplus.com/tutorials/create-a-bluetooth-scanner-with-androids-bluetooth-api--cms-24084?ec_unit=translation-info-language[/url:1rwlv6yz]
|
Android and/y Visual Studio Community (VSC)
|
Is there someone that has programmed an Android app and that has or can install VSC (Visual Studio Community) ?
I need help with the forms (windows/dialogs) designer that has been implemented in VSC. I can't figure out how to use the "layouts".
I thank you for any help <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Hay alguien que haya programado en Android y que tenga instalado ó pueda instalar VSC (Visual Studio Community) ?
Necesito ayuda con el diseñador de formularios (ventanas/diálogos) que han implementado en VSC. No logro entender como hay que usar los "layouts".
Agradezco cualquier ayuda <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
|
Android and/y Visual Studio Community (VSC)
|
Antonio ,
This may interest you?
<!-- m --><a class="postlink" href="http://www.microsoftvirtualacademy.com/training-courses/-cross-platform-development-with-xamarin-visual-studio">http://www.microsoftvirtualacademy.com/ ... ual-studio</a><!-- m -->
Maurizio
<!-- w --><a class="postlink" href="http://www.nipeservice.com">www.nipeservice.com</a><!-- w -->
|
Android and/y Visual Studio Community (VSC)
|
Maurizio,
Many thanks, I am going to review those videos <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
|
Android intents
|
"Intents" API:
[url:3w577p6j]https://developer.android.com/guide/components/intents-common[/url:3w577p6j]
am (activity manager)
$ am start -n org.mozilla.firefox/.App
$ am start -a android.intent.action.VIEW -n org.mozilla.firefox/.App -d /storage/emulated/0/Documents/wp.html
|
Android intents
|
This works!!!
$ am start -a android.intent.action.VIEW -d <!-- m --><a class="postlink" href="http://www.fivetechsoft.com">http://www.fivetechsoft.com</a><!-- m -->
|
Android on the iPhone
|
[url:1umuqbe3]http://linuxoniphone.blogspot.com/[/url:1umuqbe3]
|
Android x86
|
[url:3hpvezew]http://www.android-x86.org/download[/url:3hpvezew]
[url:3hpvezew]http://git.android-x86.org/[/url:3hpvezew]
|
Android x86
|
[url:13fkx3cv]http://kobablog.wordpress.com/2011/05/22/android-is-not-just-java-on-linux/[/url:13fkx3cv]
[url:13fkx3cv]http://www.opersys.com/blog/android-internals-101103[/url:13fkx3cv]
|
Android y Harbour
|
Muy buenas foro, tengo una duda, ¿podríamos hacer algo para crear software con Harbour y android igual que hacemos con FivePhone de iPhone?
Un Saludo.
|
Android y Harbour
|
Saludos
[url:mhk2ukz7]http://forums.fivetechsupport.com/viewtopic.php?p=107111#p107111[/url:mhk2ukz7]
|
Android y Harbour
|
Muchas gracias Daniel.
|
Android y Harbour
|
Hola Daniel
Podria servir este enlace para empezar con Android ?
[url:3fknnqxv]http://code.google.com/p/android-cpp-sdk/[/url:3fknnqxv]
Muchas gracias.
Pere.
|
Andó -> FWH + Mediator + Postgress
|
Por si a alquien le sirve despues de un rato pude manipular tablas con Mediator y PostGres de por medio, para mi que no he trabajado casi con motores de datos ha sido una sorpresa haber dado en la tecla con una serie de cosas que no conocia.
Seguire probando para ver que onda en una red con cosas un poco mas pesadas.
Saludos.
( Tambien estoy probando el RDD de Apollo pero no se como configurarlo para que se conecte al motor Apollo 6.1 )
|
Andó -> FWH + Mediator + Postgress
|
[quote="carlosortiz":21082e4c]Por si a alquien le sirve despues de un rato pude manipular tablas con Mediator y PostGres de por medio, para mi que no he trabajado casi con motores de datos ha sido una sorpresa haber dado en la tecla con una serie de cosas que no conocia.
Seguire probando para ver que onda en una red con cosas un poco mas pesadas.
Saludos.
( Tambien estoy probando el RDD de Apollo pero no se como configurarlo para que se conecte al motor Apollo 6.1 )[/quote:21082e4c]
Yo estoy tratando de hacerlo con MySql y no lo he conseguido ,me podrías orientar por favor.
|
Andó -> FWH + Mediator + Postgress
|
Carlos,
Me alegra mucho <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> , yo también quisiera que talvez pudieras postear algo para darme la punta del hilo <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> .
Gracias desde ya.
|
Angel Canudas Rey
|
Hola..
Me gustaría saber si alguien tiene el correo o alguna página web de Angel Canudas,,, porque estuve buscando información y no encuentro nada..
se agradece la colaboración
josé manuel
|
Anidando dos controles richedit
|
Hola,
Tengo un dialogo, con un control richtext readonly, y un boton, que no abre un nuevo dialogo con otro control richtex, este si es modificable por el usuario, aquí viene mi pregunta:
¿Como hago para que el texto escrito en el control editable, se añada al cerrar el dialogo, al que se muestra en el control inicial que es readonly?
¿Como hago para que el cursor de un control richedit aparezca siempre al final del texto?
Gracias, y mis saludos a todos
|
Anidando dos controles richedit
|
Para posicionarte prueba con:
METHOD Len() INLINE RELen( ::hWnd )
METHOD SetPos( nPos ) INLINE RESetPos( ::hWnd, nPos )
y para actualizar el texto, prueba a realizar un refresh o tengas que volver a leer el fichero.
|
Anidando dos controles richedit
|
Muchas gracias
Al final lo hice asi:
[code=fw:anafjc3e]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> anadetexto<span style="color: #000000;">(</span>objeto<span style="color: #000000;">)</span><br /><span style="color: #00C800;">local</span> nuetexto:=<span style="color: #ff0000;">""</span>, odlg, oget , obtn1,obtn2,cadena:=alltrim<span style="color: #000000;">(</span>persona<span style="color: #000000;">)</span>+<span style="color: #ff0000;">" "</span>+dtoc<span style="color: #000000;">(</span>date<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">" "</span>+time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>+CRLF <br /><span style="color: #0000ff;">define</span> <span style="color: #0000ff;">dialog</span> odlg <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"entratex"</span> <br /><span style="color: #0000ff;">REdefine</span> <span style="color: #0000ff;">ButToN</span> obtn1 <span style="color: #0000ff;">id</span> <span style="color: #000000;">222</span> <span style="color: #0000ff;">DIALOG</span> odlg <span style="color: #0000ff;">action</span> <span style="color: #000000;">{</span>oget:<span style="color: #000000;">setpos</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span>,oget:<span style="color: #000000;">insertrtf</span><span style="color: #000000;">(</span>cadena<span style="color: #000000;">)</span>,oget:<span style="color: #000000;">selectall</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>,oget:<span style="color: #000000;">copy</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>,;<br /> objeto:<span style="color: #000000;">setreadonly</span><span style="color: #000000;">(</span>.f.<span style="color: #000000;">)</span>,objeto:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>,objeto:<span style="color: #000000;">setpos</span><span style="color: #000000;">(</span>objeto:<span style="color: #000000;">len</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span>,objeto:<span style="color: #000000;">paste</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>,objeto:<span style="color: #000000;">setreadonly</span><span style="color: #000000;">(</span>.t.<span style="color: #000000;">)</span>,odlg:<span style="color: #000000;">end</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span><br /><span style="color: #0000ff;">redefine</span> <span style="color: #0000ff;">button</span> obtn2 <span style="color: #0000ff;">id</span> <span style="color: #000000;">223</span> <span style="color: #0000ff;">dialog</span> odlg <span style="color: #0000ff;">action</span> nuetexto:=<span style="color: #ff0000;">""</span>,odlg:<span style="color: #000000;">end</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #0000ff;">REdefine</span> richedit oget <span style="color: #0000ff;">var</span> nuetexto <span style="color: #0000ff;">id</span> <span style="color: #000000;">1000</span> <span style="color: #0000ff;">DIALOG</span> odlg<br /><span style="color: #0000ff;">activate</span> <span style="color: #0000ff;">dialog</span> odlg <span style="color: #0000ff;">centered</span> <span style="color: #0000ff;">on</span> <span style="color: #0000ff;">init</span> oget:<span style="color: #000000;">setfocus</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:anafjc3e]
Pues además necesitaba registra la persona, fecha y hora en la que se hacía la anotación.
Nuevamente muchas gracias
José Luis
|
Anidar una DIALOG en otro Control
|
¿Se puede hacer una ventana que sea parte/objeto de otro objeto???
Así pues... lo que pretendo es que una DIALOG esté incrustado en un Panel u otro DIALOG, por ejemplo y que cuando se "mueva" ese objeto "padre" afecte a la misma como otro objeto interior encapsulado.
[code=fw:2ca0arfx]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> oDlg, oFld<br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"FiveWin Dynamic folders"</span> ;<br /> <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">5</span>, <span style="color: #000000;">5</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">35</span>, <span style="color: #000000;">85</span><span style="color: #B900B9;">//20, 49</span><br /><br /> oFld := TFoldereX<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> <span style="color: #000000;">0.5</span>, <span style="color: #000000;">1</span>,,, oDlg,, .F., .F., <span style="color: #000000;">{</span><span style="color: #ff0000;">"Uno"</span>,<span style="color: #ff0000;">"Dos"</span>,<span style="color: #ff0000;">"Tres"</span>,<span style="color: #ff0000;">"Cuatro"</span>,<span style="color: #ff0000;">"Cinco"</span>,<span style="color: #ff0000;">"Seis"</span><span style="color: #000000;">}</span> <span style="color: #000000;">)</span><br /> <br /> @ <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Hello"</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">[</span> <span style="color: #000000;">1</span> <span style="color: #000000;">]</span> ;<br /> <span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Hello world!"</span> <span style="color: #000000;">)</span><br /><br /> @ <span style="color: #000000;">11.7</span>, <span style="color: #000000;">5</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"New Dialog"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> NewDialog<span style="color: #000000;">(</span> oDlg <span style="color: #000000;">)</span><br /> @ <span style="color: #000000;">11.7</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Ok"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #B900B9;">//CENTERED </span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><br /><span style="color: #00C800;">function</span> NewDialog<span style="color: #000000;">(</span> oBjt <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Local</span> oDlgNew<br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlgNew <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"New Dialog"</span> <span style="color: #0000ff;">PIXEL</span>;<br /> <span style="color: #0000ff;">FROM</span> oBjt:<span style="color: #000000;">nTop</span> + oBjt:<span style="color: #000000;">nHeight</span> <span style="color: #000000;">-350</span>, oBjt:<span style="color: #000000;">nLeft</span> + objt:<span style="color: #000000;">nWidth</span> <span style="color: #000000;">-300</span> <span style="color: #0000ff;">TO</span> ;<br /> oBjt:<span style="color: #000000;">nTop</span> + oBjt:<span style="color: #000000;">nHeight</span> <span style="color: #000000;">-40</span>, oBjt:<span style="color: #000000;">nLeft</span> + objt:<span style="color: #000000;">nWidth</span> <span style="color: #000000;">-15</span> ;<br /> <span style="color: #0000ff;">OF</span> oBjt <span style="color: #B900B9;">//La idea seria que esta ventana fuera un objeto más de oBjt</span><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlgNew <span style="color: #0000ff;">NOWAIT</span> <br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">Nil</span><br /> </div>[/code:2ca0arfx]
Gracias.
|
Anidar una DIALOG en otro Control
|
¿?¿?
|
Anidar una DIALOG en otro Control
|
Xevi, prueba asi
[code=fw:1lcwa161]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">function</span> NewDialog<span style="color: #000000;">(</span> oBjt <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">Local</span> oDlgNew<br /> <span style="color: #00C800;">local</span> oFldr<br /> <br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlgNew <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"New Dialog"</span> <span style="color: #0000ff;">PIXEL</span> ;<br /> <span style="color: #0000ff;">FROM</span> oBjt:<span style="color: #000000;">nTop</span> + oBjt:<span style="color: #000000;">nHeight</span> - <span style="color: #000000;">350</span>, oBjt:<span style="color: #000000;">nLeft</span> + objt:<span style="color: #000000;">nWidth</span> - <span style="color: #000000;">300</span> <span style="color: #0000ff;">TO</span> ;<br /> oBjt:<span style="color: #000000;">nTop</span> + oBjt:<span style="color: #000000;">nHeight</span> - <span style="color: #000000;">45</span>, oBjt:<span style="color: #000000;">nLeft</span> + objt:<span style="color: #000000;">nWidth</span> - <span style="color: #000000;">25</span> ;<br /> <span style="color: #0000ff;">OF</span> oBjt <span style="color: #0000ff;">STYLE</span> nOR<span style="color: #000000;">(</span> WS_CLIPCHILDREN, WS_BORDER <span style="color: #000000;">)</span><br /><span style="color: #B900B9;">// o asi</span><br /><span style="color: #B900B9;">// OF oBjt STYLE nOR( WS_CHILD, WS_CLIPCHILDREN, WS_BORDER )</span><br /><span style="color: #B900B9;">// o</span><br /><span style="color: #B900B9;">// OF oBjt STYLE nOR( WS_OVERLAPPEDWINDOW, WS_CHILD ) </span><br /><span style="color: #B900B9;">//</span><br /><span style="color: #B900B9;">//https://msdn.microsoft.com/es-es/library/windows/desktop/ms632600(v=vs.85).aspx</span><br /><br /> oFldr := TFolderEx<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">600</span>, <span style="color: #000000;">250</span>, oDlgNew,, .T., .F., ;<br /> <span style="color: #000000;">{</span><span style="color: #ff0000;">"Prime"</span>,<span style="color: #ff0000;">"Segu"</span>,<span style="color: #ff0000;">"Terce"</span>,<span style="color: #ff0000;">"Quart"</span>,<span style="color: #ff0000;">"Five"</span><span style="color: #000000;">}</span>,,, <span style="color: #000000;">0</span>,,,,, .F., <span style="color: #000000;">0</span>,,, .F., <span style="color: #ff0000;">"TOP"</span>,,, .F.,,, .F.,, .F.,, <span style="color: #ff0000;">"oFldr"</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlgNew <span style="color: #0000ff;">NOWAIT</span> <span style="color: #0000ff;">VALID</span> .F.<br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">Nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /> </div>[/code:1lcwa161]
|
Animacion
|
Aqui les dejo una calse muy sencilla que permite simular animaciones por medio de la clase TImagen, espero sea de utilidad para alguien<!-- m --><a class="postlink" href="http://www.box.net/shared/32oot4ye7k">http://www.box.net/shared/32oot4ye7k</a><!-- m --> (link directo)<!-- m --><a class="postlink" href="http://www.box.net/shared/iozq5sacfv">http://www.box.net/shared/iozq5sacfv</a><!-- m --> (link de la carpeta)
|
Animacion
|
Buenísimo,Muchas gracias. Tengo FWH 2.7 y sacando la cláusula 2007, funciona perfecto.Saludos.Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
|
Animacion
|
[quote="rolando":nd43klk8]Buenísimo,
Muchas gracias. Tengo FWH 2.7 y sacando la cláusula 2007, funciona perfecto.
Saludos.
Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->[/quote:nd43klk8]es bueno saber que a alguien le guste y le sirva <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P -->
|
Animacion
|
Daniel,Muy bueno, gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
|
Animacion de Flash
|
Hola FiveWinners
Tengo una animacion en flash que se muestra en la un Dialog, pero, siempre me aparece del mismo tamaña (4x4cm) aprox.
Sin importar el tamaño original de la animación que es de 800 x 600 pix.
Alguien sabe como desplegar la animacion de flash en su longitud
original?
Saludos
|
Animacion de Flash
|
Hola,
por favor coloca un ejemplo que podamos reproducir el comporatamiento
gracias
|
Animacion de Ventamas
|
Hola Fivewinnes
Desde la version de xHarbour 0.99 he utilizado este codigo para animar aleatoriamente el inicio y final de cada ventana, sin embargo con la version de xHarbour 1.2.3. (build 20161218) y Bc7 me envia en error 9003.
Con esta version ultima de xHarbour que cambia en el llamado de esta API ?
(es una aportacion del foro)
[code=fw:1rbxnkz3]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oPD <span style="color: #0000ff;">CENTERED</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> NW_ANIMA<span style="color: #000000;">(</span> oPD <span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">Valid</span><span style="color: #000000;">(</span> Fade<span style="color: #000000;">(</span> oPD <span style="color: #000000;">)</span>, .T. <span style="color: #000000;">)</span><br /><br />*--------------------------------------------------------------*<br /><span style="color: #00C800;">FUNCTION</span> NW_ANIMA<span style="color: #000000;">(</span> oDlg <span style="color: #000000;">)</span><br />*--------------------------------------------------------------*<br /><span style="color: #00C800;">LOCAL</span> nSel:= nRandom<span style="color: #000000;">(</span><span style="color: #000000;">6</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">LOCAL</span> cAni:= <span style="color: #ff0000;">""</span><br /><br /><span style="color: #00C800;">IF</span> nSel == <span style="color: #000000;">1</span><br /> <span style="color: #B900B9;">//a) desde la esquina inferior izquierda hasta la esquina superior derecha:</span><br /> cAni:= AW_VER_NEGATIVE + AW_HOR_POSITIVE + AW_SLIDE + AW_ACTIVATE<br />ELSEIF nSel == <span style="color: #000000;">2</span><br /> <span style="color: #B900B9;">//b) desde la esquina inferior derecha hasta la esquina superior izquierda:</span><br /> cAni:= AW_HOR_NEGATIVE + AW_VER_NEGATIVE + AW_SLIDE + AW_ACTIVATE<br />ELSEIF nSel == <span style="color: #000000;">3</span><br /> <span style="color: #B900B9;">//c) desde la esquina superior derecha hasta la esquina inferior izquierda:</span><br /> cAni:= AW_HOR_NEGATIVE + AW_VER_POSITIVE + AW_SLIDE + AW_ACTIVATE<br />ELSEIF nSel == <span style="color: #000000;">4</span><br /> <span style="color: #B900B9;">//d) Aparecer desplazandose de izquierda a derecha</span><br /> cAni:= AW_HOR_POSITIVE + AW_SLIDE + AW_ACTIVATE<br />ELSEIF nSel == <span style="color: #000000;">5</span><br /> <span style="color: #B900B9;">//e) desde la esquina superior izquierda hasta la esquina inferior derecha:</span><br /> cAni:= AW_HOR_POSITIVE + AW_VER_POSITIVE + AW_SLIDE + AW_ACTIVATE<br />ELSEIF nSel == <span style="color: #000000;">6</span><br /> <span style="color: #B900B9;">//f) aparecer desde el centro:</span><br /> cAni:= AW_CENTER + AW_SLIDE + AW_ACTIVATE<br />ELSEIF nSel == <span style="color: #000000;">0</span><br /> cAni:= AW_BLEND<br /><span style="color: #00C800;">ENDIF</span><br /> <br />AnimateWindow<span style="color: #000000;">(</span> oDlg:<span style="color: #000000;">hWnd</span>, <span style="color: #000000;">500</span>, cAni <span style="color: #000000;">)</span><br /><br />oDlg:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #000000;">0</span><br /><br /><br />DLL32 <span style="color: #00C800;">FUNCTION</span> AnimateWindow<span style="color: #000000;">(</span> hWnd As LONG, dwTime As LONG, dwFlags As LONG <span style="color: #000000;">)</span> AS LONG PASCAL ;<br /> <span style="color: #0000ff;">from</span> <span style="color: #ff0000;">"AnimateWindow"</span> lib <span style="color: #ff0000;">"user32.DLL"</span><br /><br /><br />*--------------------------------------------------------------*<br /><span style="color: #00C800;">FUNCTION</span> fade<span style="color: #000000;">(</span> oDlg, oWner <span style="color: #000000;">)</span><br />*--------------------------------------------------------------*<br /><span style="color: #00C800;">LOCAL</span> nSel:= nRandom<span style="color: #000000;">(</span><span style="color: #000000;">6</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">LOCAL</span> cAni:= AW_VER_NEGATIVE + AW_HOR_POSITIVE + AW_SLIDE + AW_HIDE<br /><br /><span style="color: #00C800;">IF</span> nSel == <span style="color: #000000;">1</span><br /> <span style="color: #B900B9;">//a) desde la esquina inferior izquierda hasta la esquina superior derecha:</span><br /> cAni:= AW_VER_NEGATIVE + AW_HOR_POSITIVE + AW_SLIDE + AW_HIDE<br />ELSEIF nSel == <span style="color: #000000;">2</span><br /> <span style="color: #B900B9;">//b) desde la esquina inferior derecha hasta la esquina superior izquierda:</span><br /> cAni:= AW_HOR_NEGATIVE + AW_VER_NEGATIVE + AW_SLIDE + AW_HIDE<br />ELSEIF nSel == <span style="color: #000000;">3</span><br /> <span style="color: #B900B9;">//c) desde la esquina superior derecha hasta la esquina inferior izquierda:</span><br /> cAni:= AW_HOR_NEGATIVE + AW_VER_POSITIVE + AW_SLIDE + AW_HIDE<br />ELSEIF nSel == <span style="color: #000000;">4</span><br /> <span style="color: #B900B9;">//d) Aparecer desplazandose de izquierda a derecha</span><br /> cAni:= AW_HOR_POSITIVE + AW_SLIDE + AW_HIDE<br />ELSEIF nSel == <span style="color: #000000;">5</span><br /> <span style="color: #B900B9;">//e) desde la esquina superior izquierda hasta la esquina inferior derecha:</span><br /> cAni:= AW_HOR_POSITIVE + AW_VER_POSITIVE + AW_SLIDE + AW_HIDE<br />ELSEIF nSel == <span style="color: #000000;">6</span><br /> <span style="color: #B900B9;">//f) aparecer desde el centro:</span><br /> cAni:= AW_CENTER + AW_SLIDE + AW_HIDE<br /><span style="color: #B900B9;">//ELSEIF nSel == 0</span><br /><span style="color: #B900B9;">// cAni:= AW_BLEND + AW_HIDE</span><br /><span style="color: #00C800;">ENDIF</span><br /><br />AnimateWindow<span style="color: #000000;">(</span> oDlg : <span style="color: #000000;">hWnd</span>, <span style="color: #000000;">500</span>, cAni <span style="color: #000000;">)</span><br />oDlg : <span style="color: #000000;">Hide</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br />AnimateWindow<span style="color: #000000;">(</span> oDlg : <span style="color: #000000;">hWnd</span>, <span style="color: #000000;">500</span>, AW_BLEND + AW_SLIDE + AW_ACTIVATE + AW_HIDE<span style="color: #000000;">)</span><br /><span style="color: #00C800;">IF</span> !EMPTY<span style="color: #000000;">(</span>oWner<span style="color: #000000;">)</span><br /> <span style="color: #B900B9;">//AnimateWindow( oDlg : hWnd, 500, AW_BLEND + AW_SLIDE + AW_ACTIVATE+AW_HIDE)</span><br /> <span style="color: #B900B9;">//oWner : show()</span><br /> oWner : <span style="color: #000000;">setcontrol</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> oWner : <span style="color: #000000;">setfocus</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #000000;">0</span><br /><br /> </div>[/code:1rbxnkz3]
|
Animacion de Ventamas
|
Mira se no estás usando la version de ERRSSYSW.PRG de la version antigua y cambia para la nueva. Saludos.
|
Animacion de Ventamas
|
Que intentas hacer, esto?
[code=fw:30m7udpu]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00D7D7;">#define</span> AW_VER_NEGATIVE 0x00000008 <span style="color: #B900B9;">// animate window</span><br /><span style="color: #00D7D7;">#define</span> AW_SLIDE 0x00040000 <span style="color: #B900B9;">// animate window</span><br /><br /><span style="color: #00D7D7;">#define</span> AW_VER_POSITIVE 0x00000004<br /><span style="color: #00D7D7;">#define</span> AW_BLEND 0x00080000<br /><br /><span style="color: #00D7D7;">#define</span> AW_HOR_NEGATIVE 0x00000002<br /><span style="color: #00D7D7;">#define</span> AW_HOR_POSITIVE 0x00000001<br /><br /><span style="color: #00D7D7;">#define</span> AW_HIDE 0x00010000<br /><br /><span style="color: #00C800;">static</span> owndidc, ownd, omsgbar<br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> oWndIdc := <span style="color: #00C800;">NIL</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Message Test - Press F3"</span> ;<br /> <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">5</span>, <span style="color: #000000;">5</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">24</span>, <span style="color: #000000;">64</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> MSGBAR OMSGBAR <span style="color: #0000ff;">OF</span> OWND NOINSET<br /><br /> oWnd:<span style="color: #000000;">bKeyDown</span> := <span style="color: #000000;">{</span>|nKey| <span style="color: #00C800;">IF</span><span style="color: #000000;">(</span>nKey==VK_F3,FwhMsgIDC<span style="color: #000000;">(</span> <span style="color: #ff0000;">'Message test'</span><span style="color: #000000;">)</span>,<span style="color: #000000;">)</span><span style="color: #000000;">}</span><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">maximized</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">/***************************************************************************************************/</span><br />procedure FwhMsgIDC<span style="color: #000000;">(</span> cMsg <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> oSay, oFontIDC, nPos, nCol, otimer<br /> <span style="color: #00C800;">local</span> nPosAux := <span style="color: #000000;">250</span><br /> <span style="color: #00C800;">local</span> nColAux := <span style="color: #000000;">245</span><br /><br /> <span style="color: #00C800;">Default</span> cMsg := <span style="color: #ff0000;">''</span><br /><br /> <span style="color: #00C800;">if</span> oWndIdc != <span style="color: #00C800;">nil</span><br /> oWndIdc:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> oWndIdc := <span style="color: #00C800;">nil</span><br /> syswait<span style="color: #000000;">(</span><span style="color: #000000;">0.2</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /><br /> nPos := ownd:<span style="color: #000000;">omsgbar</span>:<span style="color: #000000;">nWidth</span>-nPosAux<br /> nCol := ownd:<span style="color: #000000;">omsgbar</span>:<span style="color: #000000;">ntop</span>-nColAux<br /><br /> <span style="color: #0000ff;">define</span> <span style="color: #0000ff;">font</span> ofontidc <span style="color: #0000ff;">name</span> <span style="color: #ff0000;">"Lucida Console"</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">-8</span>,<span style="color: #000000;">16</span> bold<br /><br /> <span style="color: #0000ff;">define</span> <span style="color: #0000ff;">window</span> owndidc <span style="color: #0000ff;">title</span> <span style="color: #ff0000;">"Message"</span> <span style="color: #0000ff;">from</span> nCol, nPos <span style="color: #0000ff;">to</span> <span style="color: #000000;">(</span> nCol+nColAux <span style="color: #000000;">)</span>, <span style="color: #000000;">(</span> nPos+nPosAux <span style="color: #000000;">)</span> <span style="color: #0000ff;">pixel</span> nominimize nomaximize <span style="color: #0000ff;">color</span> CLR_BLACK, RGB<span style="color: #000000;">(</span><span style="color: #000000;">126</span>,<span style="color: #000000;">192</span>,<span style="color: #000000;">238</span><span style="color: #000000;">)</span> <span style="color: #0000ff;">of</span> oWnd<br /><br /> @ <span style="color: #000000;">00</span>,<span style="color: #000000;">-10</span> <span style="color: #0000ff;">say</span> osay <span style="color: #0000ff;">var</span> cMsg <span style="color: #0000ff;">of</span> owndidc <span style="color: #0000ff;">center</span> <span style="color: #0000ff;">font</span> ofontidc <span style="color: #0000ff;">size</span> <span style="color: #000000;">250</span>,<span style="color: #000000;">245</span> <span style="color: #0000ff;">pixel</span><br /><br /> <span style="color: #B900B9;">//AnimateWindow( owndidc:hwnd,400, nor( AW_SLIDE, AW_VER_NEGATIVE ) )</span><br /><br /> <span style="color: #B900B9;">//AnimateWindow( owndidc:hwnd,400, nor( AW_SLIDE, AW_HOR_NEGATIVE ) )</span><br /> <br /> <span style="color: #B900B9;">//AnimateWindow( owndidc:hwnd,400, nor( AW_SLIDE, AW_HOR_POSITIVE ) )</span><br /> <br /> AnimateWindow<span style="color: #000000;">(</span> owndidc:<span style="color: #000000;">hwnd</span>,<span style="color: #000000;">400</span>, nor<span style="color: #000000;">(</span> AW_HOR_NEGATIVE <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> SetWindowPos<span style="color: #000000;">(</span> owndidc:<span style="color: #000000;">hwnd</span>, <span style="color: #000000;">-1</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">activate</span> <span style="color: #0000ff;">window</span> owndidc <span style="color: #0000ff;">on</span> <span style="color: #0000ff;">init</span><span style="color: #000000;">(</span> oTimer := FlashWndTimer<span style="color: #000000;">(</span> owndidc <span style="color: #000000;">)</span>,;<br /> owndidc:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>, ;<br /> oWndIdc:<span style="color: #0000ff;">move</span><span style="color: #000000;">(</span>nCol,nPos<span style="color: #000000;">)</span>,;<br /> oWndidc:<span style="color: #000000;">nWidth</span> := nPosAux,;<br /> oWndidc:<span style="color: #000000;">nHeight</span> := nColAux,;<br /> oWndIdc:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>,;<br /> SysRefresh<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /> <span style="color: #0000ff;">valid</span><span style="color: #000000;">(</span> Keluar<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,owndidc := <span style="color: #00C800;">nil</span>,;<br /> hb_gcall<span style="color: #000000;">(</span> .t. <span style="color: #000000;">)</span>,;<br /> ofontidc:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>,;<br /> oTimer:<span style="color: #000000;">DeActivate</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>,;<br /> .t. <span style="color: #000000;">)</span><br /><br /> <br /><span style="color: #00C800;">return</span><br /><br /><span style="color: #00C800;">function</span> Keluar<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> aRect := GetClientRect<span style="color: #000000;">(</span>oWndIdc:<span style="color: #000000;">hwnd</span><span style="color: #000000;">)</span><br /> nWidth := oWndidc:<span style="color: #000000;">nWidth</span><br /> <br /> <span style="color: #00C800;">for</span> i := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> aRect<span style="color: #000000;">[</span><span style="color: #000000;">3</span><span style="color: #000000;">]</span><br /><br /> oWndidc:<span style="color: #000000;">nWidth</span> := nWidth<br /> nWidth := nWidth - i<br /> oWndIdc:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> SysRefresh<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <br /> <span style="color: #00C800;">next</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">/********************************************************/</span><br /><span style="color: #00C800;">FUNCTION</span> FlashWndTimer<span style="color: #000000;">(</span> ohWnd, nDelay, bWhen <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">local</span> oTimer<br /><br /> <span style="color: #00C800;">DEFAULT</span> nDelay := <span style="color: #000000;">2000</span><br /> <span style="color: #00C800;">DEFAULT</span> bWhen := <span style="color: #000000;">{</span> || .T. <span style="color: #000000;">}</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">TIMER</span> oTimer <span style="color: #0000ff;">INTERVAL</span> nDelay <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span>Flashing<span style="color: #000000;">(</span> ohWnd, bWhen <span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">TIMER</span> oTimer<br /><br /><span style="color: #00C800;">RETURN</span> oTimer<br /><br /><span style="color: #B900B9;">/********************************************************/</span><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> Flashing<span style="color: #000000;">(</span> ohWnd, bWhen <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">static</span> nStatus := <span style="color: #000000;">1</span><br /> <span style="color: #00C800;">local</span> hWnd<br /><br /> hWnd := iif<span style="color: #000000;">(</span> ValType<span style="color: #000000;">(</span>ohWnd<span style="color: #000000;">)</span> != <span style="color: #ff0000;">"O"</span>, ohWnd, ohWnd:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">if</span> Eval<span style="color: #000000;">(</span> bWhen, hWnd <span style="color: #000000;">)</span><br /> FlashWnd<span style="color: #000000;">(</span> hWnd, <span style="color: #000000;">(</span>nStatus := iif<span style="color: #000000;">(</span> nStatus == <span style="color: #000000;">1</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">)</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">RETURN</span> .T.<br /><br />DLL32 <span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> FlashWnd<span style="color: #000000;">(</span> hWnd AS LONG, nInvert AS LONG <span style="color: #000000;">)</span> AS LONG PASCAL <span style="color: #0000ff;">FROM</span> <span style="color: #ff0000;">"FlashWindow"</span> LIB <span style="color: #ff0000;">"User32.dll"</span><br />DLL32 <span style="color: #00C800;">FUNCTION</span> AnimateWindow<span style="color: #000000;">(</span> hWnd AS LONG, nTime AS LONG, nFlags AS LONG <span style="color: #000000;">)</span> AS BOOL PASCAL LIB <span style="color: #ff0000;">"user32.dll"</span><br /><br /><br /><span style="color: #B900B9;">/*<br /> AW_ACTIVATE<br />0x00020000<br />Activates the window. Do not use this value with AW_HIDE.<br />AW_BLEND<br />0x00080000<br />Uses a fade effect. This flag can be used only if hwnd is a top-level window.<br />AW_CENTER<br />0x00000010<br />Makes the window appear to collapse inward if AW_HIDE is used or expand outward if the AW_HIDE is not used. The various direction flags have no effect.<br /><br />AW_HIDE<br />0x00010000<br />Hides the window. By default, the window is shown.<br /><br />AW_HOR_POSITIVE<br />0x00000001<br />Animates the window from left to right. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND.<br /><br />AW_HOR_NEGATIVE<br />0x00000002<br />Animates the window from right to left. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND.<br /><br />AW_SLIDE<br />0x00040000<br />Uses slide animation. By default, roll animation is used. This flag is ignored when used with AW_CENTER.<br /><br />AW_VER_POSITIVE<br />0x00000004<br />Animates the window from top to bottom. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND.<br /><br />AW_VER_NEGATIVE<br />0x00000008<br />Animates the window from bottom to top. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND.<br />*/</span><br /> </div>[/code:30m7udpu]
|
Animacion de Ventamas
|
[url:2ts43ier]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25357&p=138502&hilit=%2FAnimateWindow#p138502[/url:2ts43ier]
|
Animacion de Ventamas
|
Hola karinha
Gracias por responder, pero el problema esta en la funcion DLL32 FUNCTION, TODOS los metodos utilizados de TODAS las DLL´s emiten el mismo problema.
El error aparecio en esta API de animacion de ventanas, pero se presenta al accesar cualquier metodo definido en DLL32 FUNCTION
Estoy migrando una aplicacion que habia compilado con FWH 13.08 / xHarbour 1.2.3 (Build 20141106) / Bcc 5.8
Ahora con FWH 17.02 / xHarbour 1.2.3 (Build 20170312) / Bcc 7.2 TODAS los metodos definidos con DLL32 FUNCTION emiten el mismo error
[code=fw:1f471j9m]<div class="fw" id="{CB}" style="font-family: monospace;">+--------------------------------------------------------------------------------+<br />|Error BASE/<span style="color: #000000;">1089</span> Argument error: <span style="color: #0000ff;">ABS</span> Arguments: <span style="color: #000000;"><span style="color: #000000;">(</span></span> <span style="color: #000000;">[</span> <span style="color: #000000;">1</span><span style="color: #000000;">]</span> = Type: <span style="color: #000000;">P</span> Val: 748B0000<span style="color: #000000;">)</span> |<br />|<span style="color: #000000;">(</span>Quit<span style="color: #000000;">)</span> |<br />|Error BASE/<span style="color: #000000;">1089</span> Argument error: <span style="color: #0000ff;">ABS</span> Arguments: <span style="color: #000000;"><span style="color: #000000;">(</span></span> <span style="color: #000000;">[</span> <span style="color: #000000;">1</span><span style="color: #000000;">]</span> = Type: <span style="color: #000000;">P</span> Val: 748B0000<span style="color: #000000;">)</span> |<br />| |<br />|Error <span style="color: #00C800;">at</span> ...: <span style="color: #0000ff;">ABS</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span> in Module: |<br />|Called <span style="color: #0000ff;">from</span> : <span style="color: #000000;">ANIMATEWINDOW</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span> in Module: <span style="color: #000000;">C</span>:\SISTPAK\PRG\SISTPACK.prg |</div>[/code:1f471j9m]
Saludos
|
Animacion de Ventamas
|
Como compilas la aplicación?
*.bat
y
*.lnk
?
|
Animaciones en FW
|
Hola Foro:
Estoy tratando de poner una animación AVI pequeña, dentro de un dialogo, usando el control Animate del PellesC.
El problema que tengo es que no se donde asignarle el nombre del archivo avi que quiero mostrar.
[b:36dru2qm] Alguien sabe como ??? [/b:36dru2qm]
He visto el ejemplo que ahy en win32.prg , pero ahi se llama a unas funciones , ejemplo oAnimate:Search().
El problema es que no se donde le asignan la animación para search ??
En las porpiedades del PellesC, no aparece como asignarla.
Algun comentario ???? , saludos
|
Animaciones en FW
|
Juan,
Tienes un ejemplo en samples\copyfile.prg
|
Animaciones en FW
|
Gracias Antonio por la ayuda.
Una consulta funciona el control Animate del pellesc en FWH ???
Saludos,
|
Animaciones en FW
|
Juan,
Debería funcionar sin problemas usando el método:
oAnimate := TAnimate():ReDefine( nId, oDlg )
en donde nId es el identificador del control en la caja de diálogo
Posteriormente puedes asignarle el fichero a animar con:
ACTIVATE DIALOG oDlg ;
ON INIT oAnimate:Open( cAvi )
|
Animaciones en FW
|
GRacias Antonio , lo voy a probar asi.
Saludos,
|
Animaciones en dialogos
|
Hola buenas tardes para todos, nos gustaría saber si es posible aplicar animaciones a los diálogos, publicamos dos gif, para explicar cual es el efecto que queremos lograr.
Espero haberme hecho entender de antemano gracias.
De antemano gracias
Opción 1
[img:lbbfnez7]https://hymplus.com/forofw/Presentaci%C3%B3n2.gif[/img:lbbfnez7]
Opción 2
[img:lbbfnez7]https://hymplus.com/forofw/Presentaci%C3%B3n1.gif[/img:lbbfnez7]
LEANDRO AREVALO
|
Animaciones en dialogos
|
Hola,
Probablemente se pueda conseguir esos efectos modificando los nTop, nLeft, nBottom y nRight del dialogo combinado con las iteracciones y los sleeps necesarios
[quote:28v7gy4l]En lenguaje harbour con fwh consigueme un dialogo que se mueva desde la parte inferior de la pantalla hasta la parte superior
ChatGPT
Para crear un diálogo en Harbour con FWH (FiveWin for Harbour) que se mueva desde la parte inferior de la pantalla hasta la parte superior, puedes utilizar la función FWH_CREATE_DIALOG para crear el diálogo y FWH_SET_POS para cambiar la posición del diálogo en cada iteración. Aquí tienes un ejemplo sencillo:
harbour
Copy code
#include "FiveWin.ch"
FUNCTION Main()
LOCAL nDlg, nStep, nPosY
// Crear el diálogo
nDlg := FWH_CREATE_DIALOG({|oDlg|}, ;
FWH_TITLE, "Diálogo Móvil", ;
FWH_WIDTH, 200, ;
FWH_HEIGHT, 50)
// Obtener la posición inicial en Y
nPosY := FWH_GET_SCREEN_HEIGHT() - FWH_GET_HEIGHT(nDlg)
// Establecer la posición inicial del diálogo
FWH_SET_POS(nDlg, FWH_GET_SCREEN_WIDTH() / 2 - FWH_GET_WIDTH(nDlg) / 2, nPosY)
// Mover el diálogo desde la parte inferior hasta la superior
FOR nStep := nPosY TO 0 STEP -1
FWH_SET_POS(nDlg, FWH_GET_LEFT(nDlg), nStep)
FWH_REFRESH_WINDOW(nDlg)
FWH_DELAY(50) // Esperar 50 milisegundos para dar un efecto de movimiento suave
NEXT
// Esperar antes de cerrar el diálogo
FWH_DELAY(1000)
// Cerrar el diálogo
FWH_DESTROY_WINDOW(nDlg)
RETURN NIL
En este ejemplo, se crea un diálogo simple con un título y se establece su posición inicial en la parte inferior de la pantalla. Luego, se utiliza un bucle FOR para cambiar la posición del diálogo en cada iteración y simular el movimiento hacia la parte superior de la pantalla. La función FWH_DELAY se utiliza para introducir un breve retraso entre cada iteración y dar un efecto de movimiento suave. Finalmente, se espera un segundo antes de cerrar el diálogo.[/quote:28v7gy4l]
[quote:28v7gy4l]Ahora en lenguaje harbour
ChatGPT
Aquí tienes un ejemplo en lenguaje Harbour utilizando formularios y temporizadores para lograr el efecto deseado:
harbour
Copy code
// Crear formulario
DEFINE WINDOW MovimientoDialogo ;
AT 1,1 ;
WIDTH 40 HEIGHT 10 ;
TITLE "Diálogo Móvil" ;
TIMER ON TIMERPROC MovimientoTimer
// Inicializar variables
nStep := 1
nPosY := GetSysMetrics(1) - 10 // Altura de la pantalla menos la altura del formulario
// Establecer posición inicial del formulario
@ 10, 1 SAY "Mensaje aquí"
// Mostrar formulario
ACTIVATE WINDOW MovimientoDialogo
// Función que se ejecuta con cada intervalo del temporizador
PROCEDURE MovimientoTimer()
// Mover el formulario hacia la parte superior
nPosY := nPosY - nStep
@ nPosY, 1 TO MovimientoDialogo
// Si llega a la parte superior, detener el temporizador
IF nPosY <= 0
CLEAR TIMER
WAIT "Espere un momento..." TIMEOUT 1
// Cerrar el formulario
RELEASE WINDOW MovimientoDialogo
ENDIF
RETURN
En este ejemplo, se crea un formulario llamado MovimientoDialogo con un temporizador que se activa. La función MovimientoTimer se ejecuta en cada intervalo del temporizador, moviendo el formulario hacia la parte superior de la pantalla. Cuando el formulario llega a la parte superior, el temporizador se detiene, se muestra un mensaje y se cierra el formulario.
Ten en cuenta que este código está basado en Harbour, y la funcionalidad de temporizadores puede variar ligeramente según la implementación específica de Harbour o el entorno en el que estés ejecutando el código. Ajusta el código según tus necesidades y la configuración de tu entorno Harbour.[/quote:28v7gy4l]
Salu2
|
Animaciones en dialogos
|
Buenos días Leandro. Yo usaría mucho mejor DYNAMIC SAY, y puedo poner el TEXTO yendo hacia arriba, hacia abajo, hacia la izquierda, hacia la derecha o simplemente, PARPADEANDO.
Regards, saludos.
|
Animado New features
|
now can use BTNBMP and REDEFINE to make animation
added DATAS for this features
new clause BLINKTEXT to BTNBMP
for better result in BTNBMP, use alpha channel ( viewtopic.php?f=17&t=13192 )
<!-- m --><a class="postlink" href="http://rapidshare.com/files/178921278/animation.rar">http://rapidshare.com/files/178921278/animation.rar</a><!-- m -->
|
Animado nuevos cambios
|
Nuevos cambios a la clase animado...
ahora se puden animar BTNBMP e IMAGEN, se puede hacer uso del REDEFINE
agregadas las DATAS para estas nuevas caracteristicas
nueva clasula en los comandos @ x,y - REDEFINE BLINKTEXT, para hacer texto parpadente en BTNBMP
para mejorres resultados usar en BTNBMP alpha channel ( <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=17&t=13192">viewtopic.php?f=17&t=13192</a><!-- l --> )
<!-- m --><a class="postlink" href="http://rapidshare.com/files/182763389/animation.rar">http://rapidshare.com/files/182763389/animation.rar</a><!-- m -->
|
Animado nuevos cambios
|
Daniel,
gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
|
Animado nuevos cambios
|
Daniel,
Muy bueno lo tuyo.
Lástima que tengo el FWH 2.7 y no todos los efectos puedo visualizar. <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> Le incluí el Manifiest pero sigue igual. <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: -->
De cualquier modo repito, muy bueno.
Saludos.
Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
|
Animado nuevos cambios
|
rolando gracias, la clase es muy sencilla y causa buenos efectos, es facil modificarla y adaptarla a tus necesidades,
no te pierdas de todas las mejoras que ha tenido FW, dale mas valor a tu inversion, he leido que AL esta brindando una oferta impelable, deberias aprovechar esta oportunidad... <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
|
Animado nuevos cambios
|
Daniel,
Te aseguro que quisiera actualizarme pero, como comenté en otros post's, lo mío es hobby, es pasión por la programación.
No programo profesionalmente, sólo he creado tres aplicaciones (y las mejoro permanentemente en el poco tiempo que me queda libre), una para el lugar donde trabajo y las otras dos para escuelas muy humildes de la zona (a donde fueron a parar además, las dos PC que tuve antes de la actual comprada a credito en 12 meses). Todo Ad Honorem.
Además, en mi trabajo la cosa está muy difícil y el dinero cada vez rinde menos. El Euro cuesta unos $4.5 lo cual no ayuda mucho y hace que por el momento me sea prohibitibo actualizarme ya que soy cabeza de familia y tengo dos niños que mantener.
[u:yqt4xsff]No pretendo "dar lástima" [/u:yqt4xsff]contando esto, sólo es mi realidad. Debo dejar de lado muchas cosas por la buena crianza de mis hijos. Ellos y su amor son lo que me hacen Rico aunque no tenga un duro de más para gastar en mí.
Saludos y de nuevo, gracias por compartir. Voy a intentar reformarla para mis necesidades.
Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
|
Animado nuevos cambios
|
Rolando,
> Debo dejar de lado muchas cosas por la buena crianza de mis hijos. Ellos y su amor son lo que me hacen Rico aunque no >tenga un duro de más para gastar en mí.
Como decimos por aqui ¡ olé tus güevos ! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Saludos
|
Animado nuevos cambios
|
Como padre de 2 hijas entiendo perfectamente tu situacion, siga adelante y no mire atras
[quote:gvttg9a9]No pretendo "dar lástima" contando esto[/quote:gvttg9a9]
mi sentimiento fue admiracion, pocas personas toman esas labores en sus manos, te felicito por tus acciones
|
Animado nuevos cambios
|
Mis Respetos, colega yo estoy como tú (más una Esposa Desauciada), Pero no estoy haciendo nada por nadie, Admirable!!!
Suerte, Paciencia, y Continúa, que Dios Aprieta pero no ahoga.
|
Animado nuevos cambios
|
Daniel,
Sigo intentando usarlo desde el redefine pero no hay caso. Me sale un error en ejecución:
[code:5m7bheju]
Error description: Error BASE/1004 Class: 'NIL' has no exported method: DEFCONTROL
Args:
[ 1] = U
[ 2] = O Object
Stack Calls
===========
Called from: => DEFCONTROL(0)
Called from: BTNBMP.PRG => TBTNBMP:REDEFINE(305)
Called from: anima.prg => ANIMADO:REDEFINEBUTTON(314)
Called from: anima.prg => ANIMADO:REDEFINE(190)
Called from: test.prg => TEST(84)
[/code:5m7bheju]
Según entiendo hay un problema en el method DEFCONTROL. lo ubiqué en la clase dialog.prg pero, la verdad no se para donde ir.
¿Habrá alguna posibilidad que se adapte al FWH2.7 que uso?
Gracias.
Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
|
Animado nuevos cambios
|
voy a ver que puedo hacer...
|
Animado nuevos cambios
|
Ok rolando creo que el problema esta en los tipos de archivo de las imagenes, creo que la version que usas utiliza la DLL nviewlib.dll, actualmente se usa freeimagen, trata de usar archivos BMP, los botones te deberian funcionar bien ya que usan ese formato, ahora las imagenes no estoy seguro, pero podrias intentarlo por esa via
|
Animado nuevos cambios
|
Daniel,
Gracias por tu interés, pero lamentablemente no funciona.
En el dialog dejé sólo el botón y dá el mismo error.
Sigo creyendo que hay un problema en el method DEFCONTROL (que ubiqué en la clase dialog.prg).
Obviamente es por la versión que uso (FWH2.7). Lo que más me molesta es que funciona bién lo definido fuera del dialog.
Que se va a hacer, como dice un viejo dicho: "Se hace lo que se puede y, lo que no, se compra hecho".
Por ahora seguiré sin usar tu magnifica clase. Gracias.
Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
|
Animado nuevos cambios
|
no rolando el peoblema no es tuyo sino mio, he estado esudiando detenidamente tu situacion y encintre estos cambios que me gustaria que hicieras...
priemro vamos a agregar esta linea en los metodos NEW y REDEFINE
::oWnd = oWnd
solo esa linea en ambos metodos
segundo...
en "METHOD RedefineButton"
despues de ::bAction agrega ::oWnd
debe quedarte algo asi
[code:1z0fw75t]::oBmp := TBtnBmp():ReDefine( ::nId, , ,;
if( len( ::aFileName ) > 0, ::cPath + ::aFileName[ 1 ],), , , ::bAction,;
::oWnd, ::bWhen, , ,;
::cPrompt, ::oFont, , , ::lBorder,;
::cLayout )
[/code:1z0fw75t]
has esto para ambos casos, cuando usas recursos y files...
has la prueba y me comentas
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.