若想在DBGridEh的某列中隐藏为0的数据,在该列的OnGetCellParams事件中进行判断处理。
procedure TfrmMain.DBGridEh3Columns7GetCellParams(Sender: TObject;
EditMode: Boolean; Params: TColCellParamsEh);
begin
if Params.Text='0.00' then
Params.Text:='';
end;… 若想在DBGridEh的某列中隐藏为0的数据,在该列的OnGetCellParams事件中进行判断处理。
procedure TfrmMain.DBGridEh3Columns7GetCellParams(Sender: TObject;
EditMode: Boolean; Params: TColCellParamsEh);
begin
if Params.Text='0.00' then
Params.Text:='';
end;… 由于Raspberry系统精减了一些不常用字体,导致MySQL Workbench在Raspberry系统中,界面英文字符显示为一个个的方框,经过多次测试,为系统安装好uming.ttc字体就可解决。
sudo apt install fonts-arphic-uming…
在运用python连接mysql数据库时,报下面的错误:
|
1 2 3 4 5 6 |
Traceback (most recent |
不多话,直接说方法:
|
1 2 3 4 5 |
sudo apt update sudo apt upgrade sudo apt install qt5-default sudo apt install |
树莓派的桌面系统(Raspberry Pi Desktop)可以在VirtualBox和VMware虚拟系统中安装,具体的安装过程与安装其他操作系统类似,不是很难,网上也有很多教程可参考。安装完进入系统后无法调整桌面分辨率,也没有象在树莓派上的“/boot/config.txt”文件,进行调整。
经过不断的摸索,需要在虚拟机中安装增强功能才能支持高分辨率。方法如下:
一、VMware虚拟系统:
1.进入系统桌面后,选菜单栏“虚拟机—安装VMware Tools”
2.将”/media/cdrom0/VMwareTools-10.3.2-9925305.tar.gz”文件解压到”/home/pi/Downloads”目录下;…
由于原更新服务器太慢,有时还会更新失败。大家可以更换国内服务器试,树莓派官方有提供一个镜像列表:http://www.raspbian.org/RaspbianMirrors,有很多国内大学的服务器,不过大多是教育网,也不是很快。
最近发现阿里云的更新服务器非常快,大家可以试试:
1、首先打开更新配置文件:
|
1 |
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list |
2、按下面内容编辑sources.list文件内容:
树莓派的更新服务器实在太慢了,有时还会更新失败,今发现阿里云的服务器更新速度还不错,推荐大家试试:
打开更新服务器配置文件:
|
1 |
sudo nano /etc/apt/sources.list |
编辑sources.list文件,按下面内容修改:
MOTOTRBO Customer Programming Software
1. Introduction
Welcome to the MOTOTRBO Customer Programming Software (CPS) for the MOTOTRBO radios.
This Customer Programming Software is intended for programming radios to be used in the United States of America (USA) to ensure …